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

    Sep 02, 2024 01:48

    Just updated to Unity 2021.3.43f1 and now getting this error. Is it related to the Unity version?

  2. unity_0_wvJa86zGMPOQ

    Oct 25, 2021 16:20

    This issue is not fixed in Unity 2019.4.31f1 or Unity 2020.3.21f1

  3. kerem-yokuva

    May 02, 2021 07:12

    it is not fixed in 2019.4.25f1

    fix this.

  4. raman_unity176

    Feb 23, 2021 18:13

    Got this error on 2020.2.5f1. Any solution?

  5. superHappyGameDev

    Jan 28, 2021 15:55

    2019.4.18f1(LTS)でも「UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED」エラーがでます。

  6. BAIZOR

    Jan 18, 2021 13:11

    The bug still exists in version 2019.2.21f1

  7. AcacusTechnologies

    Nov 25, 2020 09:17

    Just got it in 2018.4.29, any help please.

  8. abasso

    Nov 16, 2020 12:58

    I have this problem on Unity 2019.4.8f1 (LTS version). Anyone know how to fix it ?

  9. HEROTECH70

    May 18, 2020 10:37

    I am on Unity 2020.1 and getting this error, wasn't this supposed to be fixed?

  10. attishno1

    May 08, 2020 17:57

    Where is the attached file? Can't find any attached file or the Certificate!

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.