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

Windows

-

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

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a11

  2. Resolution Note (fix version 2019.3):

    Fixed in 2019.3.3f1

  3. Resolution Note (fix version 2018.4):

    Fixed in 2018.4.18f1

Comments (48)

  1. 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

  2. tobiaswoodman

    May 08, 2020 12:53

    Happened to me just today. Never before, version - 2019.2.12.f1

  3. sureyaK

    May 08, 2020 12:52

    2019.2.17f1 Started to appear in Editor just today

  4. xWilQ

    May 08, 2020 12:51

    Just got this error today with Unity 2018.4.21f.
    Have not gotten it before.

    Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED

  5. Vickrpg

    May 08, 2020 12:50

    got the Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED error on 2019.3.0f6 today. first time. Spams editor even in new blank projects.
    spams editor in old projects.
    prevents editor functions in the inspector from working correctly at random also.

  6. CedricMorelFrancoz

    May 08, 2020 12:50

    Same problem. What's the solution ?

  7. Lividus

    May 08, 2020 12:49

    Got same error today. Unity 2018.4.21f

  8. resland

    May 08, 2020 12:46

    2019.2.12f1 the same issue...

  9. Nico8292

    May 08, 2020 12:46

    Just happened to me too with 2019.2.12f1. Cannot run my project.

  10. Xerendil

    May 08, 2020 12:37

    Happened to me just now in 2019.2.21f1.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.