1. 安装
去官网下载,地址:https://www.charlesproxy.com/download/
2.激活
这里是网上找的激活账号,填入即可
1、Registered Name: https://zhile.io
2、License Key: 48891cf209c6d32bf4
3.证书安装
3.1 电脑证书下载

3.2 电脑证书信任

3.3 电脑代理设置
选中Charles 点击电脑左上角 Proxy 根据下图提示选择

点击 Proxy Settings

点击 SSL Proxying Settings ->Add


3.4 手机证书配置

3.5 手机代理设置(选中上一步后 如果第一次设置的话 会弹出此框,打开手机 设置 - > Wi-Fi - > 与电脑选中同一网络 点击wifi后的小圆圈 进入配置代理界面底部-> 输入Mac本地服务器地址(服务器地址也可以在网络偏好设置中查找) 和端口号(一般为8888)


)
3.6 手机证书下载
(1)、以上设置完毕后 进入 Chls.pro/ssl 网站 ,下载描述文件 (根据页面提示 秒完成)。
(2)、进入 iphone 设置 ->通用 ->描述文件 进行安装 。
(3)、iOS 10.3之后 安装完成要在手机设置->通用->关于本机->证书信任设置->charles Proxy CA,勾选开关,证书才生效。
4. 配置完成 可以打开你的charles 抓取数据了 。
文章部分内容借鉴链接:(https://www.jianshu.com/p/9f4ebde9c518)
文章持续更新中、希望对各位有所帮助、有问题可留言 大家共同学习.
网友评论