Charles proxy fails on SSL Connect Method

user1318504 picture user1318504 · Oct 1, 2013 · Viewed 63.1k times · Source

I have Android 4.3 forced to use Charles proxy via IPTABLES. The charles certificate is installed on the phone. I am able to capture normal SSL traffic like https websites in the browser. All POST and GET methods seem to work fine. In a particular app, it fails when using the SSL CONNECT method.

  • URL: https://XX.XX.XXX.XXX/
  • Status: Failed
  • Failure: SSLHandshake: Received fatal alert: unknown_ca
  • Response Code: - Protocol: HTTP/1.0
  • Method: CONNECT

Answer

Tomer Even picture Tomer Even · Jun 21, 2017

From iOS 10.3 you also need to go to Settings > General > About > Certificate Trust Settings and trust Charles certificate.

enter image description here