Expired Charles Proxy Root Certificate

To comply with Apple’s rules regarding MacOS and iOS certificate expiry dates, Charles’ root certificates have much shorter expiry dates (read article here). From version 4.6 of Charles onwards, new root certs will have a 1 year expiry, instead of the previous 50 year expiry date. SSL error When you open Charles you will seeContinue reading “Expired Charles Proxy Root Certificate”

Android 11 devices and Charles

This tutorial will show you how to configure Charles and your Android 11 device so you can view your app’s network traffic in plain text. FYI, the root certificate installation steps are slightly different to older Android versions NOTE: Since Android Nougat (7.1), Google have blocked tools like Charles from intercepting/decrypting network traffic from PlayContinue reading “Android 11 devices and Charles”

Android Emulators and Charles

The only slight difference between configuring Charles to work for physical devices and emulators, is the wifi network. Emulators only have 1 available wifi network. All other setup task are the same as for a real physical Android device Android Wi-fi network You will notice that there is only 1 wifi network As your emulatorContinue reading “Android Emulators and Charles”

Rewrite rules – Common Problems

Rewrite rules are an awesome tool but there are a few gotcha’s you should be aware of when using them. This post might save your future self hours of futile debugging! # Using multiple Rewrite rules Rules are independent Unfortunately Rewrite Rules are totally independent of each other For example, assume you are trying toContinue reading “Rewrite rules – Common Problems”

3 ways to Reduce unwanted network traffic

Other than using the “Filter” field, there are 3 other ways to reduce the amount traffic your Charles sessions captures Recording Settings Exclude traffic from being recorded Add the URL(s) to the “Exclude” tab of the “Recording Settings…” feature Proxy -> Recording Settings -> Exclude Focused Host Focusing on specific hosts As the name suggests,Continue reading “3 ways to Reduce unwanted network traffic”

Advanced Repeat

The Advanced Repeat feature lets you automatically hit endpoints at predefined intervals. You can also to add delays between each iteration. In this tutorial we are going to demonstrate 2 use cases for this feature: Performance testing Monitor health of specific endpoints Prerequisites Make sure you have installed and configured the Charles Root certificate on your MacContinue reading “Advanced Repeat”

View localhost traffic

If you are developing something on your local machine you may like to the ability to view your traffic in Charles. In this tutorial we will show you how to proxy your localhost traffic through Charles Prerequisite Install Charles Make sure you have setup the Charles Root certificate on your Mac before you proceed to the next stepContinue reading “View localhost traffic”

Rewrite – Modify elements in the Response body

The Rewrite feature lets you automatically change elements of a Request or Response each time they meet a predefined set of rules. In this tutorial, with a simple Regular expression, we will target specific properties in the Response and then use the Rewrite tool to automatically modify their values. In this tutorial we are goingContinue reading “Rewrite – Modify elements in the Response body”