Why https request fails on Charles Proxy if SSL proxying is turned on

五迷三道 提交于 2020-01-16 08:43:29

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!