本文不是一个关于讲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来设置一下吧。玩得愉快。