Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Charles Proxy SSL: "SSL Proxying not enabled for this host" [closed]

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?

like image 472
TeriA Avatar asked Mar 05 '18 18:03

TeriA


People also ask

What is SSL proxying?

SSL proxy is any proxy server that uses the Secure Socket Layer (SSL) protocol, also known as SSL proxy server. SSL proxy performs encryption and decryption between the client and the server, without either of them being able to detect the proxy's presence.

How do I enable https in Charles?

Open Charles. Go to Proxy > Proxy Settings > SSL. Check “Enable SSL Proxying” Select “Add location” and enter the host name and port (if needed)


2 Answers

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

like image 167
Lluís Suñol Avatar answered Oct 27 '22 01:10

Lluís Suñol


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.

like image 34
Akash Raghav Avatar answered Oct 26 '22 23:10

Akash Raghav