0

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?

Żabojad
  • 2,946
  • 2
  • 32
  • 39

1 Answers1

0

OK the problem was just that my Android device had a wrong date and time setting ...

Żabojad
  • 2,946
  • 2
  • 32
  • 39