The method of grabbing HTTPS data packets by Charles
Set up after cracking
Set proxy port 8888
Ssl proxy Settings
Allow all addresses to connect
Before the mobile phone gets the certificate, install the certificate on the computer, which needs to be trusted.
Help-- > ssl-proxying-- > Install Charles Root Certificate
Help-- > ssl-proxying-- > Install Charles Root Certificate on Mobile Device or Remote Browser...
Mobile access: chls.pro/ssl
If the following error occurs:
Charles Error Report
Name lookup failed for remote host Charles failed to resolve the name of the remote host into an IP address. Check that the URL is correct.
The actual exception reported was: java.net.UnknownHostException: http: unknown error Charles Proxy, http://www.charlesproxy.com/
Need to add DNS:114.114.114.114 to the computer
Then visit and download the certificate. The certificate is in pem format and the suffix needs to be changed to crt.
You can also choose to import the certificate. Download the certificate to ensure that the mobile phone and the computer are interoperable. Can turn off the firewall, kill soft and so on.