Charlse 的使用
2021-05-27 本文已影响0人
望穿秋水小作坊
一、具体配置
https://juejin.cn/post/6844903521804894215
二、可能遇到的问题
1. iOS设备使用Charles,在访问一些请求的时候会失败
-
根据官方提示安装证书即可
-
https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
-
iOS devices
- Set your iOS device to use Charles as its HTTP proxy in the Settings app > Wifi settings.
- Open Safari and browse to https://chls.pro/ssl. Safari will prompt you to install the SSL certificate.
- 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).
- Now you should be able to access SSL websites with Charles using SSL Proxying.
Charles supports App Transport Security (ATS) as of the 3.11.4 release.