3.10以上charles版本抓取Https資料包

來源:互聯網
上載者:User

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的資料包了




聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.