4Q-s-r-o / ota_update

Flutter plugin implementing OTA update for both iOS and Android
MIT License
182 stars 62 forks source link

It keeps saying that the certificate cannot be found #74

Closed luo353010979 closed 2 years ago

luo353010979 commented 2 years ago

E/FLUTTER OTA: ERROR: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

MartinHlavna commented 2 years ago

Hello, are u using self signed certificate for http or untrusted root? This would have to be configured in android security config.

https://developer.android.com/training/articles/security-config