We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSLKEYLOGFILE
设置环境变量:
右键点击“此电脑”或“我的电脑”,选择“属性”。
点击“高级系统设置”。
在“系统属性”窗口中,点击“环境变量”。
在“系统变量”或“用户变量”部分,点击“新建”。
输入变量名 SSLKEYLOGFILE 和变量值 C:\path\to\sslkeylogfile.log。
C:\path\to\sslkeylogfile.log
# 请注意要保证 chrome 已完全关闭 否则不会生效 /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ssl-key-log-file=/path/to/ssl-key-log-file.log
Edit
Preferences
Protocols
TLS
(Pre)-Master-Secret log filename
Browse
sslkeylogfile.log
OK
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. 设置 SSLKEYLOGFILE 环境变量
SSLKEYLOGFILE
环境变量,Chrome 会用它来记录 SSL/TLS 会话的密钥。1.1 在 Windows 上设置
设置环境变量:
右键点击“此电脑”或“我的电脑”,选择“属性”。
点击“高级系统设置”。
在“系统属性”窗口中,点击“环境变量”。
在“系统变量”或“用户变量”部分,点击“新建”。
输入变量名
SSLKEYLOGFILE
和变量值C:\path\to\sslkeylogfile.log
。1.2 在 macOS/Linux 上设置
2. 配置 Wireshark 使用 SSLKEYLOGFILE
Edit
,然后选择Preferences
。Protocols
,然后选择TLS
。TLS
设置中,找到(Pre)-Master-Secret log filename
这一项。Browse
按钮,选择你之前设置的sslkeylogfile.log
文件。OK
保存设置。3. 注意
sslkeylogfile.log
文件包含了 SSL/TLS 会话密钥,这些密钥非常敏感。请确保不要把这个文件分享给他人,或者在不安全的环境中保存。SSLKEYLOGFILE
。The text was updated successfully, but these errors were encountered: