iMac Charles抓包工具的使用
2019-04-26 本文已影响0人
Sim_Liu
1.Charles根证书的配置
a. 打开Charles--->Help--->SSL Proxying--->Install Charles Root Certificate
如下图:

b.打开钥匙串 ,可以看到




这样Charles 的证书被信任。
2. 移动设备证书的配置
a. 打开Charles--->Help--->SSL Proxying--->Install Charles Root Certificate on a Moblie Device orRemote Browser...
如下图:

出现一个弹框,如下图:

手机用Safari 的打开 链接 http://charlesproxy.com/getssl 弹出下载证书界面,
不过我试了不行,改用这个链接https://www.charlesproxy.com/documentation/additional/legacy-ssl-proxying/就成功了,如下图所示。

然后去设置里面安装证书就行了,如下图:

b.移动设备网络代理设置
完成上述步骤以后,以手机为例,进入设置-- Wi-Fi --- 选择需要代理的WiFi 更多按钮 --- 配置代理 --- 手动



最后填写需要代理的本机的服务器(电脑的网络设置可以查看到 IP 地址 ),端口(一般是8888),然后存储,就ok了。
重启Charles,就可以开始抓包了。