需要通過瀏覽器支持: 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
新聞熱點
疑難解答