For our app I have to use the crosswalk webview, latest version 2.3.0. The problem is we have to use a SSL connection for https and wss calls, but there is not a trusted certificate.
On every request we make over https we get a TOAST message (which in my opinion does not came from IONIC but from cordova plugin) “Request was denied for security.”
We have a not trusted SSL certificate and I think this should be the problem! But I’m not able to resolve the problem, I tried many thinks like this
The toast is actually from Android it self, so it’s happening at the browser level. To be fair, the best/correct way to resolve this would be to get a trusted ssl certificated.
Both Android and iOS have been cracking down on accessing non-secure resources.
Another good one is cloudflare.com, they’re who I use and I never have any downtime, slow connections, certificate issues or anything. Gets the job best to it’s abilities in my opinion.
We can not use LET’s encrypt on a LOCAL hardware. We have a gateway and have a ionic software which is configuring the gateway. So this is an embedded solution and not a WEB solution.
So all this is not a solution for us, but we found a workaround on the problem. If we have a solution for it we would like to share it here!
Hello I’m new here. I’ve a ssl certification error while lunching my app(capacitor).
I tried everything I found here( Android’s Network Security ) but till now it didn’t work.
here is the error:
I/X509Util: Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
E/chromium: [ERROR:ssl_client_socket_impl.cc(941)] handshake failed; returned -1, SSL error code 1, net_error -202.
I got the error after public key generated. need help please.
hello to try this. In your Bridge.java Add the sslReceidError méthode to the webview client.
03:46
You will find the Bridge.java class in capacitor-android/java/util. Add the onReceivedSslError method. Like this: public void onReceivedSslError(Webview view,SslErrorHandler handler, SslError error){ handler.proceed(); }
You’ll add this method in webview.setWebViewClient(new WebviewClie