需要通過(guò)瀏覽器支持: 1、增加一個(gè)windows的環(huán)境變量SSLKEYLOGFILE ,其值指定為一個(gè)文件路徑 下次啟動(dòng)Firefox或者Chrome的開(kāi)發(fā)者模式的時(shí)候,TLS秘鑰就會(huì)自動(dòng)寫(xiě)入到該指定文件下面 2、設(shè)置wireshark的ssl協(xié)議,并指定上一步設(shè)定的文件作為ssl key log文件 Wireshark->Edit->PReference->Protocols->ssl->(Pre)-Master-Secret log filename 3、利用firefox或者chrome在開(kāi)發(fā)模式下 4、打開(kāi)https網(wǎng)站抓包,停止 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
新聞熱點(diǎn)
疑難解答
圖片精選