3.10以上charles版本抓取Https数据包

本文详细介绍了如何使用Charles 4.0.1(mac版)进行HTTPS抓包操作,包括安装根证书及配置移动端设备的具体步骤。

charles3.10一下的版本抓包参见一下文章即可:

http://www.cnblogs.com/liyuanhong/articles/4428133.html

charles3.10抓包,官网https://www.charlesproxy.com/documentation/additional/legacy-ssl-proxying/ 上有记载:

Version of Charles prior to v3.10 used a single SSL Root Certificate. You can still download the legacy certificate bundle here or the certificate itself here (for installing on mobile devices). Note that these certificates will not work on Charles v3.10.

If you are running Charles v3.10 or later, please go to Charles and consult the SSL Proxying submenu in the Help menu, for instructions on installing your new Charles Root Certificate.

You can also check the documentation on SSL Certificates for instructions for installing your Charles Root Certificate on various devices.

因此,如果你使用的是charles3.10或以上的版本(笔者这里使用的是charles 4.0.1 mac 版本)

首先点击菜单栏 help ----  SSL Proxying ----  install Charles root certificate 进入如下界面:


将证书拖到系统中,并且右键信任该证书:官网是这样描述的:

Mac OS X

In Charles go to the Help menu and choose "SSL Proxying > Install Charles Root Certificate". Keychain Access will open, and prompt you about the certificate. Click the "Always Trust" button. You will then be prompted for your Administrator password to update the system trust settings.

然后,点击菜单栏 help ----  SSL Proxying ----  install Charles root certificate on Mobile device or remote browser进入如下界面:


在ios设备上打开Safari输入红色的地址:chls.pro/ssl(注意,你的设备已经连上了charles)

安装完浏览器唤起的证书安装,之后就可以正常抓起https的数据包了




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值