Note: Mobile SSL Proxying only works on Macs. This configuration will require Admin access to your Mac computer.
Do you have Charles Web Proxy, but don't know how to test your Mobile Analytics? Read the rest of this article. Yes, this will even work on the trial version of Charles Web Proxy. Make sure you have Charles Web Proxy 3.10+.
- Make sure Charles Web Proxy is installed in your 'Applications' folder and your user account has 'Read & Write' access.
Setup Charles Web Proxy for SSL
- Once Charles loads go to the menu bar and go to Proxy > SSL Proxying Settings...
- Check the Enable SSL Proxying box
- Click 'Add' and in the 'Host' field enter an asterisk '*' (this represents a wildcard so you will be accepting SSL calls from all websites)
4 Click 'OK' and 'OK' again.
Install SSL Certificate
- Once Charles loads go to the menu bar and go to Help > SSL Proxying > Install Charles Root Certificate
- Enter your admin username and password when prompted
- Install the 'Charles Proxy Custom Root Certificate' in your 'System' folder in 'Keychain Access'
Initial Setup Complete.
Record Mobile Analytics Calls
- Make sure your Mobile Phone and Computer are in the SAME WiFi network (this is very important)
- In Charles go to Help > SSL Proxying > Install Charles Root Certificate on Mobile Device or Remote Browser...
- You will then get a popup that looks like this:
- (I'll be using an iPhone for this example) Again, make sure you Mobile Device is in the same WiFi network. Open up your 'Wi-Fi' page in your phone's settings and enter the information Charles Web Proxy promoted you with under 'HTTP Proxy - Manual tab' (keep 'Authentication' set to off), like this:
Then on your Mobile Device's NATIVE WEB BROWSER (Safari) go to http://charlesproxy.com/getssl and install the Provisioning Profile
You are now all set to see all web calls passing through your phone, including Adobe and Google Analytics!