charles mac配置

下载charles及破解jar包
我的当前版本为4.2.8

一、安装

下载完成后点击安装

如提示权限问题,则执行以下指令修改Charles权限

sudo chown -R root "/Applications/Charles.app/Contents/Resources"
sudo chmod -R u+s "/Applications/Charles.app/Contents/Resources"

Charles cannot configure your proxy settings while it is on a read-only volume. Perhaps you are running Charles from the disk image? If so, please copy Charles to the Applications folder and run it again. Otherwise please ensure that Charles is running on a volume that is read-write and try again.

二、配置

1、将Charles设置成系统的代理服务器。选择菜单中的 “Proxy” –> “Mac OS X Proxy” 来将 Charles 设置成系统代理。
2、Enable SSL Proxying


image.png

3、安装根证书:Help—>SSL Proxying---->Install Charles Root Certificate
4、安装根证书默认不信任,需要到钥匙串中信任,改为始终信任

三、手机端

“help” -> “SSL Proxying” -> “Install Charles Root Certificate On a Mobile Device Or Remote Browser”


image.png

然后根据指示修改手机网络,配置代理地址IP和端口号,本例中IP为172.30.248.138,端口号为8888;
然后在手机浏览器中输入地址: chls.pro/ssl,下载证书并安装。

如证书格式为pem且无法安装证书,则将证书发送到微信或qq并下载,从存储设备安装,参考
https://blog.csdn.net/fesdgasdgasdg/article/details/104606001

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。