The first step is to configure the HTTP proxy, which is the same as crawling the HTTP request:
Select Listen on port 8888, and then OK. Enough to select Socks Proxy and intercept HTTP access requests to the browser.
The second step is to install the computer end root certificate:
First select the SSL proxyings option in Charles's help option and then select the Install Charles Root certificate option
Set Trust:
The third step is to configure the SSL proxy:
In Charles's proxy option, select SSL Proxy Settings
Add the domain name you want to monitor, support the * wildcard, and the port is usually 443:
Fourth step to set up a proxy for your phone
Make sure the phone and computer are in the same LAN, configure the manual agent in the mobile phone wireless, enter the network address of the computer where Charles is installed, and fill the port 8888.
The fifth step installs the root certificate for the phone to install the root certificate of Charles on the phone:
Take iOS for example, open the root certificate for Charles on Safri download URL: Chls.pro/ssl.
The smooth words will appear such a screen, continue to install, and then go to the settings in the Description file management trust it on the line.
Mac uses Charles for HTTPS grab packets