正常的进行配置proxy,enable ssl on host and port,安装证书,信任证书,但是有些域名的访问还是出现了:
SSLHandshake: Remote host closed connection during handshake
还需要最后一步是full trust:
General > About > Certificate Trust Settings, and find the Charles Proxy certificate, and switch it on to enable full trust for it.
接下来就可以了。
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 web