Fiddler use--Configure crawl HTTPS, prompt "Disable decryption" "Click Configuration"

Source: Internet
Author: User

When you set fiddler catch HTTPS, the browser always prompts: This certificate is not trusted; noon did not nap afternoon has been faint, get a long time, finally think up is a certificate problem; degree Niang has a good answer, here to share! To a friend who has the same problem later, also as a record of their own. (PS: I like to use Firefox, so they are set on the Firefox, other similar, the children's shoes said more clearly)

-------------------------------------------------------------The following is the content of the reprint---------------------------------from @ Han Zi Late------------------------------------------------

How to capture HTTPS requests with Fiddler

After installing Fiddler, we will capture our HTTP request every time we open the browser input url,fiddler (Fiddler is working as a proxy Web server, it uses proxy address: 127.0.0.1, Port: 8888. When the browser opens, Fiddler automatically sets up the agent, which automatically unregisters the agent when it exits, so that it does not affect other programs. However, if you want to capture HTTPS requests, we also need to make some additional settings.

To crawl the JS content of the HTTPS, Fiddler must decrypt the HTTPS traffic. However, the browser will check the digital certificate and discover that the session has been bugged. To fool the browser, Fiddler encrypts HTTPS traffic by using another digital certificate. After Fiddler is configured to decrypt HTTPS traffic, a CA certificate named Do_not_trust_fiddlerroot is automatically generated and used to issue a TLS certificate for each domain name. If the Do_not_trust_fiddlerroot certificate is included in the list of trusted CAs for the browser or other software, the browser or other software will assume that the HTTPS session is trustworthy and will not eject a "certificate error" warning.

First, open Fiddler, and in the menu bar, select Tools, Fiddler options, HTTPS, tick the option

After you hook up, Fiddler will prompt you to install a certificate. After installation, click the "Export Root ..." button to download the certificate to the desktop.

The certificate is then imported into the browser. Here, for example, choose "Settings", and then "Manage Certificates". "Import the certificate saved on the desktop (similar to other browsers, usually with a" certificate "option set).

You can also simply double-click the downloaded certificate to install it.

We open the www.baidu.com, then we can happily capture the HTTPS request!

Careful you may find that there are some HTTP requests in the HTTPS request, and the Host parameter of the session is a strange "tunnel to" simply say fiddler as the proxy forwarding HTTPS request, will produce "CONNECT T Unnels ", so big can ignore it.

PS: It is said to install the certificate on the phone if you want to capture the HTTPS request on the mobile side!

Fiddler use--Configure crawl HTTPS, prompt "Disable decryption" "Click Configuration"

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.