您的位置:首页 > 理论基础 > 计算机网络

wireshark解密通过浏览器的https报文

2017-02-10 17:37 429 查看
需要通过浏览器支持:

1、增加一个windows的环境变量SSLKEYLOGFILE ,其值指定为一个文件路径

下次启动Firefox或者Chrome的开发者模式的时候,TLS秘钥就会自动写入到该指定文件下面

2、设置wireshark的ssl协议,并指定上一步设定的文件作为ssl key log文件

Wireshark->Edit->Preference->Protocols->ssl->(Pre)-Master-Secret log filename

3、利用firefox或者chrome在开发模式下

4、打开https网站抓包,停止

5、利用wireshark的Follow SSL Stream 查看



http://security.stackexchange.com/questions/35639/decrypting-tls-in-wireshark-when-using-dhe-rsa-ciphersuites/42350#42350

https://wiki.wireshark.org/SSL#Complete_SSL_decryption_walk_through

https://ask.wireshark.org/questions/4229/follow-ssl-stream-using-master-key-and-session-id

NSS Key Log Format/ssl key log
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ssl windows wireshark