This is the first article I participated in beginners’ introduction

1. Grab the Https

  • Settings ->WLAN-> Set up manual proxy
  • Android Phone installation Certificate: Charless Help (HELP) on PC -> SSL Proxying -> Install Charles Root Certificate on a Mobile phone or on a remote browser Device or Remote Browser) will pop up a prompt box to determine the IP address and port number of the computer. After that, the mobile phone Browser can download the certificate automatically when accessing CHLS. Pro/SSL

When xiaomi download the certificate, it cannot be installed after downloading. Please do not download it with your own browser. To install the certificate, go to mobile phone Settings and choose More Settings > System Security > Encryption and Credentials > Install from storage Device >Download >.crt file > OK.

  • -ssl Proxying Settings… – Select Enable SSL Proxying
  • Click Add, in the “Edit Location” window fill in the Host you want to grab, such as test.kuaidadi.com and daijia.kuaidadi.com, Port can be empty, click “OK”

Record of problems encountered during the setting process:

    1. Computer side to install the certificate(Verify that the deleted certificate can be used normally, no need)
    1. The mobile phone fails to download the certificate through CHLS. Pro/SSL. Solutions are as follows:
    • Open Charles and select Help →SSL Proxying→Save Charles Certificate to import the Certificate into the phone
    • After importing the certificate, click Install certificate
    • If you cannot open the certificate after importing it, go to Mobile phone Settings → More Settings → System security → Install from storage Device → Select Charles. pem and click Advanced to install the certificate
    1. All set up, but there is no record of the request in Charles, try the following method:
    • You need to disable the firewall on Windows.
    • Check whether the port numbers are consistent

2. Set a breakpoint for network requests

  • Proxy->Breakpoint Settings-> Select Enable Breakpoints and Add:

  • Breakpoints can be set before sending a request or after returning a response as follows:

  • Finally, when the Request is triggered, you can click Edit Request to add, delete, or modify the parameters, and then click Execute to continue executing the Request: