Use Wireshark to debug HTTP/2 traffic for Chrome browser under Windows

Source: Internet
Author: User

1. Download the corresponding Wireshark installation package on the Wireshark website (https://www.wireshark.org/#download) for installation

2. Add System environment variable settings (computer-right---Properties-Advanced system Settings-advanced-environment variables-system variables-new)

Variable name: sslkeylogfile

Variable Value:%userprofile%\sslkeysenv.pms

3. Start the Chrome browser in CMD using the command line

> "C:\Program Files (x86) \google\chrome\application\chrome.exe"--ssl-key-log-file=%userprofile%\sslkeysarg.pms

4. Set Wireshark

(1) Open wireshark--Edit--Preferences--protocols--ssl

(2) Set (Pre)-master-secret log filename

C:\Users\fanyegong\sslkeysARG.pms (replace Fanyegong with your own user name)

(3) Set SSL Debug file (this step is optional)

C:\Users\fanyegong\ssl.log

5. You can now view the HTTP2 traffic in Wireshark

Use Wireshark to debug HTTP/2 traffic for Chrome browser under Windows

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.