charles phone to download and install the certificate

Reference article: charles phone to download and install the certificate

Herein Charles, adaptation windows / MAC / IOS / Android, failures and avoid capture HTTPS distortion;

With version V4.1.2, other versions similar principle;

If no common charles SSL certificate;

HPPTS agreement will lead to the failure of the domain name grab phenomenon / garbled;

SSL is now more and more, many blog are on SSL, the industry is to pay basic configuration;

charles SSL certificate configuration, figure simple, simple to operate;

Firstly, how do we need?

The first step: end computer installation of CA certificate Charles (must)

charles need to download and install ssl / https certificate because charles is used as an intermediate filter, please review the specific principles charles tutorial

So you can access https resources of the PC side, the same windows / MAC principle;

Step two: charles SSL crawl settings on your computer (must)

charles is not the default ssl crawl, so even after you installed the certificate, Charles default Https does not intercept the information, you need to set the required domain name in the SSL proxy caught in;

Of course, if you want to crawl HTTPS resources end of the phone, but also following the third step;

(The phone will not capture ordinary HTTP, click charles phone capture settings )

The third step: install SSL certificates phone ;

Whether IOS / Android, you need to install an SSL certificate, the principle is charles SSL certificate SSL certificate butt on the phone with the computer;

Specific methods of operation ***************** ***************************** *****************

The first step: SSL certificate installed on your computer

Select "Help" -> "SSL Proxying" -> "Install Charles Root Certificate", if you set the security, ranging account password will be entered into the system.

image

Charles will let you start the installation certificate of operation;

image

All the way to the next step;

The second step, configuring SSL crawl domain;

You can configure individually, must see a domain name you want to crawl, right-click on the "SSL proxying: Enableed" then the current domain name after you set up, you can access again caught; settings as shown

image

I personally do not like this kind of set up; every time a configuration requires a very boring;

I can see the above configuration, the "SSL proxying: Enableed" to configure the default is gray, it is because I had reason common settings; I was all set to capture the HTTPS protocol allows all;

My settings are as follows;

First find proxy - SSL Proxying Settings;

image

Then select the Enable SSL proxy (Enable SSL Proxying), because of the location charles configurations are supported wildcards, so HOST set in a "*" on it, port not write;

image

If you need to configure a given domain name, it is here to fill in;

Formulated particular domain name, the general port 443 (the SSL routine 443);

This way, you can have fun to crawl the content of HTTPS;

The third step: the phone installing an SSL certificate (if you need to grab the phone to access HTTPS sites, set up to do this, but if you do not need to crawl HTTPS phone, there is no need to install)

Similar to the above and also the following SSL proxying in HTLP, select "Install Charles Root Certificate on a Mobile Device or remote Browser" (SSL certificate installed on the mobile device or remote browser)

image

Then you will see a pop, prompt you how to operate

configure your device to use charles as its HTTP proxy on 192.168.10.108.8888,then browse to chls.pro/ssl to download and install the certificate

Probably does mean that you put information on the phone wifi set up HTTP proxy, content is 192.168.10.108.8888; then you can download the browser to chls.pro/ssl with a certificate and install;

image

My version is V4.1.2 version, so if you are other versions, a message may be different;

grab ordinary HTTP settings on charles phone, please refer to " charles phone capture settings " here just to crawl HTTPS-;

The above 192.168.10.108.8888 this is my computer's IP and settings and port settings, you should take concrete practical subject;

When you're done cell phone wifi commissioned charles as a proxy;

Open a browser on your phone to access chls.pro/ssl; then jumps to a local installation description file;

charles_proxying_phone

Mounted directly on it;

I have installed, it will no longer be demonstrated

Well, now you go and see, can be a normal of the captured HTTPS;

Visit my own blog last chapter of https capture record

image

——-END——

Reference article: https://www.axihe.com/

Guess you like

Origin www.cnblogs.com/broszhu/p/11569571.html