Search Issue Tracker

Fixed in 2020.1

Fixed in 2018.4, 2019.3

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. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a11

  2. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in 2019.3.3f1

  3. Response avatar

    Resolution Note (fix version 2018.4):

    Fixed in 2018.4.18f1

Comments (40)

  1. 7a69091fe88549c73ee5b105e0a0111e?d=mm

    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.

  2. 4d4a6bfdc9c617296e4d47098f98ce7b?d=mm

    Ereona

    May 08, 2020 12:57

    The same error in Unity 2019.2.14f1

  3. A00bc75c6fc2bc0421087ada8c7de71b?d=mm

    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

  4. 56d1980f8ff5beb4a14311b657cf4643?d=mm

    tobiaswoodman

    May 08, 2020 12:53

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

  5. 10b9a3ed87640b8eff92a76f69c5fd48?d=mm

    sureyaK

    May 08, 2020 12:52

    2019.2.17f1 Started to appear in Editor just today

  6. 693255fa375d48812db9377ae285fdeb?d=mm

    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

  7. 07724dd483983a005b4c50e66f55d8d8?d=mm

    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.

  8. D2566d7f6e1b5db4125693b55bc9933a?d=mm

    CedricMorelFrancoz

    May 08, 2020 12:50

    Same problem. What's the solution ?

  9. 17d949ab7585e417b71b4a221468658d?d=mm

    Lividus

    May 08, 2020 12:49

    Got same error today. Unity 2018.4.21f

  10. D917bfa09965cf918a17dc65c056d9f9?d=mm

    resland

    May 08, 2020 12:46

    2019.2.12f1 the same issue...

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.