MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 347 forks source link

Ssl Certificate Error #370

Open MGMsystems opened 9 years ago

MGMsystems commented 9 years ago

When I start the app in Android, I get an Ssl Certificate Error Alert: screenshot_2014-10-16-14-12-06

This is because it tries to connect to a https server with a self signed certificate. In the logcat is see the following error: I/X509Util﹕ Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Is there a way to turn this alert off?

mmocny commented 9 years ago

+@clelland who has played in this area before.

For what its worth, I think this is common to all cordova-android apps and was discussed in depth on the cordova mailing lists not too long ago.

agrieve commented 9 years ago

Note: Seems like this and #375 show differences between x-walk webview and system webview when it comes to SSL errors. I don't believe the system webview shows dialogs.

vladipus commented 9 years ago

I have the same thing going. My cert is verfified in desktop browser wiith a note of deprecation. The logcat doesn't seem to show anything related to certs.