Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers.
Normally you can intercept HTTP Traffic. But little bit configuration required for intercepting HTTPS Traffic. In this tutorial we have explained about how to do it.
Configuration In Charles Proxy
Open Charles Proxy and go to Proxy >>> SSL Proxy Settings
And the following window click SSL Proxying Tab >>> tick Enable SSL Proxying Checkbox >>> Click Add >>> In Host Field enter * and Port Field enter *
* Means All Hosts and Ports
And then click Ok.
Configuration On Windows
Now Charles is ready to intercept and decrypt SSL Traffic. But Your Browser/Windows needs to trust the certificate which is provided by Charles Proxy. Therefore you have to install that certificate to Trusted Root Authorities on your windows.
Now Go To Help >>> SSL Proxying >>> Install Charles Root Certificate
You Will Get Following Window. Click Install Certificate.
And Then Select Store Locations As Current User click Next. On following window check Place all certificate in the following store. After that click Browse and select Trusted Root Certification Authorities. And Click OK.
Then Click Next and Then Click Finish. And Then You Will Get Warning. Click Yes. You will get Success Message.
Above mentioned method will work for the browsers which uses windows network settings as their network settings. Browsers such as Chrome, Opera uses this Method.
Visit http://www.charlesproxy.com/firefox and install firefox extension. After the installation go to Tools >>> Charles Proxy >>> Install Charles Root Certificate. and follow instructions.
If you have any problems, Please leave your problems in comments section. Thank You