I have some good news for you. In fact, you can get the Master-Key data you need from Firefox and Chrome. And you can use the output file in Wireshark to decrypt SSL / TLS traffic without having to use the private key from the SSL / TLS server. Check out “Method 2” here: http://www.root9.net/2012/11/ssl-decryption-with-wireshark-private.html
As a hint, if you do not want to restart your computer, just open a command prompt and run:
set SSLKEYLOGFILE = c: \ sslKeyLogFile.txt
"C: \ Program Files (x86) \ Mozilla Firefox \ firefox.exe"
Since Firefox starts from the same session in which you added the environment variable, it will start with this variable. Otherwise, after installation, a restart of Windows will be required in the System Settings dialog box.
I also want to note that the answer from Chris was not necessarily wrong, it is a fairly new feature. This did not lead to a release prior to Wireshark 1.6.
source share