Charles interception of communications and information Https

If you need to intercept analysis Https protocol-related content. You need to install the CA certificate Charles. Specific steps are as follows

First we need to install the certificate on the mobile phone side. Click Charles the top menu, select "Help" -> "SSL Proxying" -> "Install Charles Root Certificate on a Moblie Device or Remote Browser". As shown below:

 

 

 Open the phone browser address chls.pro/ssl, certificate installation page appears, click to install the phone is provided with a password to enter a password to install!

Note 1:

Some people say that Safari browser and enter the URL of this certificate is not the case chls.pro/ssl installation,
Pro-test to (1) set up the phone HTTP proxy (2) Charles on the computer to open
Note 2:
iOS 10.3 system, you need to enable full trust in Charles certificate → Settings → General → About This certificate trust set up inside

Charles set Proxy (needs to be set to function properly intercept https)

Proxy -> SSL Proxying Settings ..., check the Enable SSL Proxying, click Add, Host set to crawl https interface, such as the tried to grab
Fill in Host: https: //api.airag.cn
Fill Port: (default 443 when not filled) 443

 

 

Guess you like

Origin www.cnblogs.com/pwj2lgx/p/11579760.html