本文不是一個關於講charles怎麼一步一步配置抓包的問題,二是關於charles在iOS10.3以上版本遇到證書沒有背trast的問題。 https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/ 其實這兒有詳細的說明,可能你沒注意到, 請看***第三條***。
1. Set your iOS device to use Charles as its HTTP proxy
in the Settings app > Wifi settings.
2. Open Safari and browse to https://chls.pro/ssl.
Safari will prompt you to install the SSL certificate.
3. If you are on iOS 10.3 or later, open the Settings.app
and navigate to General > About > Certificate Trust Settings,
and find the Charles Proxy certificate,
and switch it on to enable full trust for it (More information about this change in iOS 10).
4. Now you should be able to access SSL websites
with Charles using SSL Proxying.
複製程式碼
具體來看蘋果官方解釋 Changes to manually installed certificate profiles in iOS 10.3 https://support.apple.com/en-nz/HT204477
也就是說10.3後又有一個地方需要信任一下證書,按照General > About > Certificate Trust Settings來設定一下吧。玩得愉快。