Reputation: 1819
Everything is fine when my iPhone 7 is still iOS 12. After it upgrade to iOS13 public beta7, I found that my iPhone can not do SSL proxying with Charles 3.x version.
Charles says:
SSLHandshake: Remote host closed connection during handshake
You may need to configure your browser or application to trust the Charles Root Certificate. See SSL Proxying in the Help menu.
Upvotes: 10
Views: 4326
Reputation: 898
The same issue on iOS 14.3. My solution was reinstalling the certificate. This requires regenerating Root certificate in Charles, which would prompt to install a new one when visiting chls.pro/ssl Recently I reset the device to factory settings, and maybe this caused this error to appear.
Upvotes: 0
Reputation: 186
Follow the steps given by the Charles. After granting trust to the Charles certificate, need to do 1 more step, to enable full trust: https://support.apple.com/en-nz/HT204477
Upvotes: 5
Reputation: 471
Far as I know, Apple has released new security requirements for TLS server certificates in iOS 13 and macOS 10.15. Thus, your Charles CA Root Certificate might be out-of-date. I think you could try to delete that certificate and re-install and trust Charles CA with the newest version of Charles to see if it works (Hope that Charles has updated and fixed this bug). I had switched from Charles to Proxyman and they also had a release to fix this bug: https://github.com/ProxymanApp/Proxyman/releases/tag/1.4.4.1
Upvotes: 4