How to access Charles on the mobile terminal and the parsing and crawling configuration of SSL pages

How to access Charles on the mobile terminal and the parsing and crawling configuration of SSL pages

Charles server-side deployment configuration

Operating environment windows server 2019 data center edition
Continue component requirements Microsoft Visual C++ 2015
Charles 4.6.1
Activation code Registered Name: https://zhile.io License Key: 48891cf209c6d32bf4

Step 1: Install Microsoft Visual C++ 2015

Step 2: Install Charles (there is no shortcut after installation, the path is "C:\Program Files\Charles\Charles.exe")

Step 3: Configure proxy -> Proxy setting, start proxy -> windows proxy, and release Alibaba Cloud Security Group

Step 5: Close the cache and release all access traffic

tools -> Nocache

proxy -> "access control setting" -> release "0.0.0.0/0 and ::/0"

Configure to grab HTTPS

Step 1: proxy -> ssl proxying setting -> add "*:443"

Step 2: Help -> SSL Setting -> Install Charles Root Certificate -> Install Certificate -> Local Computer -> Put all certificates in the following storage -> Browse -> Trusted Root Certification Authorities -> Next, carry out

The third step: Help -> SSL Setting -> Install Charles Root Certificate on a Mobile Device or Remote Browser (you need to grab HTTPS to execute this step, and the prompt is an intranet address + port. Just add the public network address when you enter it yourself)

Charles mobile configuration

IOS system
Step 1: Connect to WIFI and set access proxy
设置 --> 无线局域网 --> 选中已连接wifi的最右侧 'i' 字样 --> 配置代理 --> 手动 --> 【填写代理信息】--> 保存
Step 2: Open the browser to download and install the certificate

The system comes with a browser to visit: chls.pro/ssl --> allow the download according to the prompt

Install the certificate: Settings --> General --> Description file --> Select "charles proxy ca" to install (the password will be verified here)

Step 3: Trust the certificate

Setting: General --> About this machine --> Certificate trust setting --> Turn on the trust of "charles proxy ca"

Huawei system
Step 1: Connect to WIFI and set access proxy
长按当前WIFI --> 修改网络 --> 往下滑 --> 代理 --> 手动 --> 【填写代理信息】--> 保存
Step 2: Open the browser to download and install the certificate

The system comes with a browser to visit: chls.pro/ssl and save it locally

Settings --> Search for "certificate" --> Install certificate from SD card --> Search for "pem" in the file (wait a while) --> Select the certificate according to the name and time (here you need to set a password for the phone) --> Name the certificate (whatever) --> install it

Step 3: Trust the certificate

Settings --> Search for "Certificate" --> Trusted Credentials --> Show User --> Judging by the certificate name (charles proxy ca) and timestamp, it is enough, because the certificate is installed and the lock screen is set The password is automatically trusted.

For protection of the Android system, the built-in browser cannot be resolved by proxy SSL, other programs including games are no problem

Xiaomi mobile phone
Step 1: Connect to WIFI and set access proxy
选中已连接wifi的最右侧 '>' 字样 --> 配置代理 --> 手动 --> 【填写代理信息】--> 保存
Step 2: Open the browser to download and install the certificate

Download Use the 360 ​​speed browser to access chls.pro/ssl to download the certificate, you can long press the file name in the download management to view the certificate storage details

Settings --> Search for "Certificate" --> Select Install Certificate --> The phone storage will be called up --> Search for "pem" --> Select the certificate according to the name and time (here you need to set a password for the phone) --> Name the certificate (Whatever) --> install it

Step 3: Trust the certificate

Settings --> Search for "trust" --> Trusted credentials --> Show users --> Judging by the name of the certificate (charles proxy ca) and timestamp, it can exist, because the certificate is installed and the lock screen is set The password is automatically trusted.

Guess you like

Origin blog.51cto.com/swiki/2555587