问题
I have installed and configured Charles proxy in my mac.
I am able to browse all http sites and see the requests in Charles but I am not able to browse https sites I get unable to connect
Safari cannot open the page because it could not establish a secure connection.
I have installed the SSL certificate as it is mentioned in Charles but all the https connections are failing
回答1:
If you are on iOS 10.3 or later, open the Settings.app and navigate to General > About > Certificate Trust Settings, and find the Charles Proxy certificate, and switch it on to enable full trust for it
Now you should be able to access SSL websites with Charles using SSL Proxying.
Look into iOS Devices section in the Charles SSL documentation for reference
来源:https://stackoverflow.com/questions/48873791/why-https-request-fails-on-charles-proxy-if-ssl-proxying-is-turned-on