简体   繁体   中英

Cordova Android 6.2.1 + Crosswalk 23 => SSL error: net::ERR_INSECURE_RESPONSE

I'm trying to make XmlHttpRequest to a REST API exposed through https with a certificate signed by letsencrypt .

On Android, those requests fail and I get a net::ERR_INSECURE_RESPONSE error.

It seems it fails both with and without Crosswalk.

I've tried to comment the onReceivedSslError code in both org.apache.cordova.engine.SystemWebViewClient and org.crosswalk.engine.XWalkCordovaResourceClient but it still fails with the same error :(.

Is it the CA that is not recognized? How can I fix this?

好的,问题只是我的Android设备的日期和时间设置错误...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM