Question by
Lamafreund · Oct 05, 2021 at 09:26 AM ·
androidnetworkingssl
TLS issues on Android after Let's Encrypt Certificate Update
So since Let's Encrypt updated their certificates on September 30th my SSL Stream has been broken, but only on the Android side. I tried a lot of solutions listed on the server side, but I think it may be something Unity Internal. On the Server I have a certificate with the new ISRG Root X1 option. I have an Android 10 device and have the needed certificate in my trust store.
Using Unity 2020.1.4f1
This is the error I got using LogCat:
2021-10-04 21:13:04.383 27803-27903/? E/Unity: Certificate error: RemoteCertificateChainErrors
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35) 2021-10-04 21:13:04.515 27803-27917/? E/Unity: TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED
at Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) [0x00036] in <c8c8707b2adc41b09ae682df75fe1fd0>:0
at Mono.Unity.UnityTlsContext.ProcessHandshake () [0x00082] in <c8c8707b2adc41b09ae682df75fe1fd0>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003e] in <c8c8707b2adc41b09ae682df75fe1fd0>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <c8c8707b2adc41b09ae682df75fe1fd0>:0
Comment