本文介绍了如果开启SSL代理功能,为什么https请求在Charles Proxy上失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Mac中安装并配置了Charles代理.

I have installed and configured Charles proxy in my mac.

我能够浏览所有http网站并在Charles中查看请求,但无法浏览无法连接的https网站

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

我已经安装了Charles中提到的SSL证书,但是所有https连接都失败了

I have installed the SSL certificate as it is mentioned in Charles but all the https connections are failing

推荐答案

如果您使用的是 iOS 10.3或更高版本,请打开Settings.app并导航至常规>关于>证书信任设置,然后找到Charles Proxy证书,然后将其打开以对其进行完全信任

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

现在,您应该可以使用SSL代理通过Charles访问SSL网站.

Now you should be able to access SSL websites with Charles using SSL Proxying.

查尔斯SSL文档中查看"iOS设备"部分以供参考

Look into iOS Devices section in the Charles SSL documentation for reference

这篇关于如果开启SSL代理功能,为什么https请求在Charles Proxy上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 00:38