Charles ios phone capture

 

1, download and install Charles, address https://www.charlesproxy.com/download/ ;

2, and set the proxy add https requests a certificate

Proxy->SSL Proxying Settings,

1) 勾选Enable SSL Proxying,

2) Add the desired domain name and set up a proxy port, add here *: * *: 443, matching all domain names and ports,

 

3, Charles install the root certificate

Help->ssl proxy ->Install Charles Root Certificate

4, the mobile phone side configuration

1) phone connected to the same network segment of the PC network settings -> Wi-Fi, set up a proxy server for the PC's ip, port 8888,

 

2) Help -> ssl proxy -> Install Charles Root Certificate on a Moblie Device or Remote Browser, based on pop prompt, end mobile phone browser to access chls.pro/ssl installation certificate

5, started, open the app and start crawling network communications interface is as follows

 

Precautions:

1) when the phone is connected to the proxy, Charlescharles will pop remind whether to allow, agree to;

2) If the phone connection request can not pass through a proxy computer, like housekeeping off 360 (garbage maker), try again after the windows firewall;

3) iOS 10.3 system, you need to enable full trust in Charles certificate → Settings → General → About This certificate trust set up inside.

4) Charles caught windows package, Proxy-> Windows Proxy check can be.

 

Guess you like

Origin www.cnblogs.com/wlpc/p/10943632.html