Chrome不会将Firefox转储到SSLKEYLOGFILE变量 [英] Chrome not Firefox are not dumping to SSLKEYLOGFILE variable
问题描述
我正在尝试使用Wireshark解密SSL包,如这里。我已经创建了一个SSLKEYLOGFILE系统和用户变量和日志文件。我已经重新启动了我的电脑(运行Windows 10),并用Chrome和Firefox打开了https URL,但没有写入ssl日志文件。我的Chrome版本是56.0.2924.87(64位),我的Firefox版本是51.0.1(32位)。任何想法如何使两个浏览器中的任何一个写入该文件?或者有什么办法可以获得SSL密钥来解密Wireshark中的SSL包?
I'm trying to decrypt SSL packages with Wireshark as described here. I have already created a SSLKEYLOGFILE System and User variable and the log file. I have restarted my computer (running Windows 10), and opened https urls with Chrome and Firefox, but none write to the ssl log file. My Chrome version is 56.0.2924.87 (64-bit) and my Firefox version is 51.0.1 (32-bit). Any idea how can I make any of the two browsers write to that file? Or is there any way to get the SSL key to be able to decrypt SSL packages in Wireshark?
推荐答案
你做错了事情。测试版本58&你不需要重启。要激活:
You are doing something wrong. Tested on version 58 & you do not need to reboot. To activate either:
- 设置环境变量
SSLKEYLOGFILE
至%USERPROFILE%\sslkeysENV.pms
- 运行chrome with参数例如:
C:\Program Files(x86)\Google\Chrome\Application\chrome.exe--ssl-key-log-file =%USERPROFILE %\sslkeysARG.pms
- set environment variable e.g.
SSLKEYLOGFILE
to%USERPROFILE%\sslkeysENV.pms
- run chrome with argument e.g.:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --ssl-key-log-file=%USERPROFILE%\sslkeysARG.pms
这篇关于Chrome不会将Firefox转储到SSLKEYLOGFILE变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!