The principle of all kinds of grasping tools is the same, the use of the same aspect is similar, because recently in the use of Mac, so the clutch tool began to use Charles, record the steps to crawl https.
- Connect the agent, turn on the Capture tool, the phone set the proxy server, the port number (default 8888), so that you can grab the packet, but not catch the packet https
- Grab Bag tool to turn on HTTPS settings
Tick Enable SSL proxying, click Add
Fill in the HTTPS connection and port number to be caught (443)
- Mobile device Installation SSL Certificate
Click Help, SSL proxying, Install Charles Root Certificate on a Mobile Device
The pop-up window gets address Chls.pro/ssl
Phone-side open Safari Browser input, install certificate
Note: You need to enable full trust Charles Certificate in settings → general → about Native → certificate trust settings
- Computer Charles Root Certificate installation
This set up to complete the basic can be HTTPS grab packet, if not, look at which step is not completed, record, for later forget.
Charles for HTTPS grab bag (iOS for example)