Charles crawls HTTPS request in detail

Source: Internet
Author: User

Hello everyone, I am TT, the Internet testing industry for many years, there is no good background, there is nothing to show off, but more than others to work hard, working field to fight. Encountered the pit, through the detours, willing to share with you, share their experience, less detours. "Test Architect" starting with the personal public number

The original text reads as follows:

Now basically most of the Web sites are using HTTPS, so to catch HTTPS requests, the first task is to have tools: Charles, fiddler, first introduced the next Charles for HTTPS request Crawl method, This method is compatible with Windows and Mac users (Mac user method is similar, if necessary, please follow the public number: test architect, leave a message for me. I'll do the finishing work in the future).

1, Windows installation Charles, see this article users believe has installed Charles, if not really installed, trouble on their own search, to install, open Charles (I use the Charles version is 3.11.4), and then continue to browse.

2, Ok,charles is ready to complete, the next step is to configure the Charles Certificate:

The installation certificate is then ejected:

Click Install, go all the way to the next step until you are prompted to "import successfully"

At this point the certificate is not trusted, let mistrust become trust: open IE browser Tools---->internet options---Certificate Then import the issued certificate into the trusted root certification authority. This will be OK.

3. Configure the mobile agent and install the certificate on the mobile device

Set up a proxy on your phone: Set up a wireless network, set the server IP and port number:

Then, the phone installs the certificate:

A popup box will appear, as follows:

Then the mobile browser input as above address: Http://charlesproxy.com/getssl will pop up the following page:

Click Install, after the installation is completed, it becomes verified as follows:

The following to visit the Baidu WAP site for example:

See, visit Baidu WAP site or do not see the request data HTTPS, the following also need to continue to configure:

Click on SSL proxying Settings, pop up the box below, enter the host to fill the IP or domain name to crawl, port fill 443.

After the setup is complete, re-orientation Baidu WAP site can crawl to the HTTPS request

If the above is not resolved, please follow my public number: test architect, backstage message to find me!

Learn more about the public number: test architect

                                                        

Charles crawls HTTPS request in detail

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.