3.10以上charles版本抓取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的數據包了
總結
以上是生活随笔為你收集整理的3.10以上charles版本抓取Https数据包的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 解决vmbox配置设置好自定义网桥后无法
- 下一篇: linux下xampp(apache)中