apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 987 forks source link

How to support the front-end page to ignore the service verification of self signed certificates? #1213

Closed jingtiaopi closed 2 years ago

jingtiaopi commented 2 years ago

I want your help. The network request is HTTPS, but it is a self signed certificate. How to set how certificate authentication can be ignored on IOS. I found that the network is initiated by JS and WebView cannot intercept it. Thank you!

jcesarmobile commented 2 years ago

It's not officially supported to ignore certificate exceptions as it's a security vulnerability.

You can probably create a plugin to do it or search as it might even exist already.