Using Charles to get HTTPS data

Source: Internet
Author: User

If the picture is not displayed, you can go to the Jane book to view: Jane book address

I use the Charles version is 3.11.2, get can self Baidu, I want to say is using Charles to get HTTPS data.

1. Configure the Charles root certificate

First Open Charles:

Then act as follows:


Then the keychain pops up, and if it doesn't pop, open the keychain yourself, such as:

The system default is not trust Charles's certificate, right click on the certificate, in the pop-up drop-down menu, select "Show Info", click on the use of this certificate, the use of the system default to always trust, such as:

Then close, you will find that Charles's certificate has been trusted, such as:

2. Configure the certificate on the mobile device

For example, choose to install the Charles root certificate on your mobile device:

A popup box will pop up, such as:

Then open your phone's browser and enter
charlesproxy.com/getsslThe following screen will pop up:


Click Install.

Enter the phone settings screen:


Here take Pinterest as an example ...


At this point or not to get the data https, you do not worry about children's shoes, there are operations below, and then into Charles, such as Operation:

For example, tick Enable SSL Proxying , click Add, Pop Up the following dialog box, Host indicates the IP address or link you want to crawl, Port fill 443 can:

Once setup is complete, data can be crawled, such as:

If you have any questions, please leave a message. ^_^

Using Charles to get HTTPS data

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.