之前沒(méi)有升級(jí)ios10.3,一直可以使用charles抓包https,最近直接升級(jí)了ios11 beta袭艺,發(fā)現(xiàn)竟然抓不了包了逝撬,一開(kāi)始以為是蘋(píng)果對(duì)于charles的證書(shū)做了限制。后來(lái)發(fā)現(xiàn)不是。
解決方案:
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).
通用 -> 關(guān)于 -> 證書(shū)信任設(shè)置->信任charles的根證書(shū)