cordova-plugin-advanced-http
cordova-plugin-advanced-http copied to clipboard
How can we allow only certificates signed by a trusted CA?
I already activated SSL-Pinning and it works fine. Now when connecting to a remote endpoint, how can I only allow certificates signed by a trusted CA?
Right now the plugin also accepts self-signed certificates which makes it potentially possible to intercept traffic.
Can you paste the pinning code here for reference. as It is not working for self-signed certificate [Internal company] for https url. It is throwing SSLHANDSHAKEEXCEPTION ERROR.