之前没有升级ios10.3,一直可以使用charles抓包https,最近直接升级了ios11 beta,发现竟然抓不了包了,一开始以为是苹果对于charles的证书做了限制。后来发现不是。
解决方案:
ios10.3 or later(包含ios11):
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).
通用 -> 关于 -> 证书信任设置->信任charles的根证书