Charles capture https protocol configuration under Windows

 Recently, I encountered some problems in setting the https protocol to capture the mobile app, and now I record it here, in case I encounter problems in the future.

 

1. Download the Charles installation package from the official website

    https://www.charlesproxy.com/download/

    After downloading, install it, install it for fool installation, the next step is just fine

2. After installing Charles, open and click help---install charles root certificate to install the root directory certificate

  Note: If you want to capture the https protocol of your own company , you must have this certificate on your computer

 

After opening, there will be such a prompt that you need to install it. After the installation is complete, the page below will be displayed.

3. After the installation is completed on the computer, you need to install the certificate on the mobile phone, click help-SSl Proxying-----install charles root certificate on a mobile device or remote browser

  After clicking, a prompt box will pop up

 

 Take an ios mobile phone as an example, enter chls.pro/ssl in the safari of the mobile phone, and then download the certificate to the mobile phone and install it (Note: The premise of downloading is that the mobile phone needs to be connected to the agent, so that the certificate will be downloaded)

4. Set SSL Proxying Settings on the computer

Add the domain name and port of the app, so that it will only be displayed as the domain name when capturing packets

5. After the success, the style of https will be displayed in front of it. If it is not successful, it will display the status of the lock.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324781973&siteId=291194637