Hi everyone, first post!

First of all, please accept my apologies if this mailing list is not meant
to discuss topics like the one following.

I've been trying to develop a plugin/extension for cordova on iOS, so that
I can handle self-signed certificates for my users, as I have no control
over the servers they'd be connecting to, and it's likely they'd be using
self signed certificates for test purposes.
Bsically, what I'm trying to ahieve is warn the user when a certificate is
not valid/self-signed/expired and let them choose whether they want to
proceed (accept it) or not.

I've done a ton of reading lately on how this can be achieved by first
enabling disabling ATS and then using delegate object on NSURLConnections
to accept the certificate, even if it's self-signed.
Even though I can apply that approach on a NSURLConnection with the
delegate in a standalone context, I'm not quite sure how to override the
one used by the UIWebView. Is it feasible to do it with a plugin, without
affecting any existing code or I'd have to change existing implementation?

Any advice/suggestions/examples on the overall direction I should follow to
achieve that would be more than welcome.

Regards,
Harry

Reply via email to