此方式支持firefox,chromelinux
创建path变量 SSLKEYLOGFILE=c:\ssl.keychrome
重启firefox chrome,访问https网站会自动生成ssl session key session
linux,mac 使用export创建变量网站
export SSLKEYLOGFILE=/tmp/ssl.key
打开wireshark,Edit--->Preferences--->Protocols--->sslspa
在(pre) -master-secret log filename:这里填入c:\ssl.keyfirefox
开始抓包,经过chrome或firefox走的https流量会自动解密blog