Software Development and QA Tips

Dev and QA Tips How To Use Charles Proxy on iPhone?

How To Use Charles Proxy on iPhone?

Charles Proxy | By Timothy Joseph | February 14, 2022

How to use Charles Proxy on iPhone?

Charles Proxy: Enables the communication between the application and the internet. Recording is the primary function of Charles. Requests and responses are recorded of the current session to inspect and analyze.

Setup of Charles Proxy on Desktop:

  1. Install Charles application on your computer.
  2. In Charles application go to the 'Help' menu then select 'SSL Proxying > Install Charles Root Certificate'. A window will be displayed warning you that the CA Root certificate is not trusted. Click on the 'Install Certificate' button in order to launch the Certificate.
  3. Now, Go to 'Proxy->SSL Proxy Settings' and add the valid application URL(Say: *Google*).
 

Setup of Charles Proxy on iOS:

  1. Go to the Settings app, tap Wi-Fi, find the network you are connected to and then tap the blue 'info' icon to configure the network.
  2. Now, scroll down to the HTTP Proxy setting and tap 'Manual' option.
  3. In the "Server" field and "Port" field, enter the IP address and Port (usually 8888) of the computer on which Charles is running. Leave Authentication set to Off.
  4. After saving the Network settings in your iPhone, the Charles proxy tool will display an alert dialog box asking if you want to allow connection from the mobile then select the 'Allow' button to continue.
  5. Open Safari in the iPhone and browse to 'Charles Web Debugging Proxy • SSL CA Certificate installation' a prompt appears to install the SSL certificate.
  6. Now, open the Settings app of the iPhone device and navigate to "General" >> "About" >> "Certificate Trust Settings".
  7. Find the downloaded "Charles Proxy CA" certificate, then tap on it and switch it on to enable full trust for it.
  8. Setup is now completed and can be used for monitoring the traffic of your iPhone in the Charles proxy tool.

New call-to-action

Disclaimer

This publication is for informational purposes only and nothing contained in it should be considered legal advice. We expressly disclaim any warranty or responsibility for damages arising out of this information and encourage you to consult with legal counsel regarding your specific needs. We do not undertake any duty to update previously posted materials.