Charles Proxy

Charles proxy is a tool we can use to monitor device outgoing traffic. One usage for this is to troubleshoot issues with app on a phone. Using this tool, we can see all outbound traffic including the request and response payloads.

Setting it up involves multiple steps :

  1. Download Charles Proxy on your local machine and launch.
    • If necessary, send an IT Support ticket to obtain a license. Then in the Help tab, click on Register license and enter Certificate info.
  2. In the Proxy tab,
    • For “SSL Proxying Settings…“, add the following:
      • Host: *
      • Port: 443
    • For “Proxy Settings“, ensure the following:
      • In the “Proxies” tab,
        • Set Port: 8888
        • Enable transparant HTTP proxying
      • In the “Mac OS X” tab,
        • Enable Mac OS X proxy
        • Enable Use HTTP Proxy
        • Enable Mac OS X proxy at startup
  3. In the Help tab,
    • Click SSL Proxying > Install Charles Root Certificate > Trust it in your Keychain (for Mac)
  4. Check your iOS/Android device’s wireless settings and make sure it’s the same wireless network on your local machine  ie: “phunware-an”
  5. On your device’s wireless network settings, set your device’s HTTP Proxy settings to “Manual”
    • iOS
      • Server : Your laptop/computer’s IP address
      • Port : Specified in Step 2 (usually 8888)
    • Android (Hold the wireless network name > Modify network > Show advanced options
      • Proxy Hostname : Your laptop/computer’s IP address
      • Proxy Port : Specified in Step 2 (usually 8888)
  6. On Charles Proxy, accept a prompt that a connection is being made.
  7. On the device, open a browser and go to http://www.charlesproxy.com/getssl and install the certificate. If the page is unable to load or you don’t see the certificate prompt – turn off your wireless settings, reload that page, turn back on your wireless settings, and hit refresh.
  8. iOS – Install and trust it in Settings > General > Profiles & Device Management. Android – Give the certificate a name and save.
  9. For iOS 10 and above, you have to enable trust in  Settings > General >  About > Certificate Trust Settings > Enable Full Trust For Root Certificates
  10. You are now able to see device network traffic.

6 thoughts on “Charles Proxy

  1. I’m now not positive the place you’re getting your info, however great topic. I needs to spend a while studying much more or figuring out more. Thank you for excellent information I used to be on the lookout for this information for my mission.

    Like

  2. Great blog here! Additionally your web site quite a bit up fast! What web host are you the usage of? Can I am getting your associate link for your host? I wish my web site loaded up as fast as yours lol

    Like

  3. I do agree with all of the ideas you have introduced for your post. They are very convincing and can certainly work. Still, the posts are very short for beginners. May you please prolong them a bit from subsequent time? Thank you for the post.

    Like

  4. hello!,I really like your writing very much! proportion we keep in touch more approximately your post on AOL? I require a specialist in this house to solve my problem. Maybe that’s you! Having a look ahead to see you.

    Like

Leave a comment