Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.3.X
Votes
1
Found in
2018.4
2018.4.10f1
2018.4.16f1
2019.2
2019.2.7f2
2019.3
2019.3.0b4
2020.1
2020.1.0a4
Issue ID
1215665
Regression
Yes
UnityWebRequest fails to verify certificate when "Let's Encrypt Authority X1" certificate is present in system trust store
Reproduction steps:
1. Open Certificate Manager (In Windows, search for "Manage user certificates" in the Start menu)
2. If present, delete Let's Encrypt Authority X3 certificate under "Current User\Intermediate Certification Authorities\Certificates"
3. If not present, install the Let's Encrypt Authority X1 certificate attached below
4. Open the attached project (case_1215665.zip)
5. Enter Play Mode
Expected result: WebRequest is successful and data is fetched
Actual result: The error "Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED" is thrown and no data is fetched
Reproduced in: 2018.4.10f1, 2018.4.16f1, 2019.2.7f2, 2019.2.19f1, 2019.3.0b4, 2019.3.0f6, 2020.1.0a4
Not reproducible in: 2017.4.36f1, 2018.4.9f1, 2019.2.7f1, 2019.3.0b3, 2020.1.0a3, 2020.1.0a11, 2020.1.0a21
Regressed in: 2018.4.10f1, 2019.2.7f1, 2019.3.0b3, 2020.1.0a4, most likely caused by Case 1076758
Comments (48)
- 
        Daniel1x May 08, 2020 13:20 I also get these errors, version 2019.3.0f3. 
 It happened suddenly for some reason and causes Unity to crash.Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED 
- 
        United-Screens May 08, 2020 13:20 Same problem 2019.2.13f. And never had it before, Need urgently a solution or workaround 
- 
        Djaydino May 08, 2020 13:16 2018.4.13f1 same issue and when playing any scene unity stops working 
- 
        murat303 May 08, 2020 13:16 Same problem in 2019.2.21f1 
- 
        Djaydino May 08, 2020 13:09 2018.4.13f1 Started to appear in Editor just today. 
 just now we went live and have a bug to fix, also when play, the editor stops (but no error)
- 
        CinKM4D May 08, 2020 13:07 I started Unity (2019.2 16f1) and about every minute in the console there is this curl error 51. 
- 
        AmalieKae May 08, 2020 13:05 For anyone who wants to keep working until this is resolved: You can do so by going offline and working without internet. Super cumbersome, but for now it's all I can come up with. (If anyone has a better solution, please let me know!) 
- 
        AmalieKae May 08, 2020 13:01 I just got the error too. (2019.3.0f6) Left my project alone a while (not touching or changing anything), when I came back after a break, this had started happening. Never seen it before. 
- 
        Ereona May 08, 2020 12:57 The same error in Unity 2019.2.14f1 
- 
        jwright_unity May 08, 2020 12:57 started getting the same issue about 30 minutes ago. UNITYTLS_X509VERIFY_FLAG_EXPIRED doesn't seem to be project related 
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0a11
Resolution Note (fix version 2019.3):
Fixed in 2019.3.3f1
Resolution Note (fix version 2018.4):
Fixed in 2018.4.18f1