51

Why am I not able to see responses in Charles Proxy when debugging an app?

It is very strange, all certificates have been installed on my laptop and trusted, same for my devices, and I am still getting SSL Proxying not enabled for this host, even though I have the enable SSL box ticked.

I have never run into this issue before. What can I do?

WebDevBooster
  • 14,674
  • 9
  • 66
  • 70
TeriA
  • 511
  • 1
  • 4
  • 4

2 Answers2

69

Charles Proxy does not proxy any domain unless specified in the Proxy Settings. It's on the Charles Proxy Documentation:

You must specifically identify the host names you want to enable SSL Proxying on. The list is in the Proxy Settings, SSL tab. You can also right-click on a host name in the structure view and turn on or off SSL Proxying.

If you want all HTTPS traffic to be captured by Charles, then you can add *:* on that list: enter image description here

Lluís Suñol
  • 3,466
  • 3
  • 22
  • 33
  • 6
    You can add `*:*` to that list by entering * for the host and * for the port. (Thanks to @Faizyy for the correction) – Tamás Sengel May 12 '21 at 14:16
  • 1
    In my case, on OSX 11.6 specifying host did not work (it should have), right click on host name in structure view did not work (it should have), only when I set "*:*" did it work. Thanks! – Nemanja Kovacevic Feb 24 '22 at 23:17
  • this is the way. on iOS 16 you must also trust the certificate (settings - general - about - certificate trust settings) – Radu Ursache Feb 01 '23 at 18:31
45

If you're looking to only monitor few domains related to your app. A Simple solution would be, just right click on the domain name that you're trying to monitor and in the context menu shown, click Enable SSL Proxying, charles will take care of filling the url and port itself.

Akash Raghav
  • 1,073
  • 9
  • 19
  • 2
    The simplest solution. Doesn't require any manual fiddling inside of Charles. – IgorGanapolsky Mar 09 '20 at 19:26
  • it is already enabled for me. Says "Disable SSL Proxying" instead, but all requests still appear as "unknown" and says SSL is not enabled from them – George Shalvashvili Jun 13 '23 at 19:21
  • You need to add charles CA certificate on your mobile device and add res/xml/network_security_config.xml file for android apk, for iOS 16 you need to trust certificate in settings general/about/certificate/trust settings. – Akash Raghav Jul 15 '23 at 08:54