mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-24 00:31:33 +00:00
8 lines
675 B
HTML
8 lines
675 B
HTML
|
The SSL master keys can be logged by mitmproxy so that external programs can decrypt TLS connections both from and to the proxy.
|
||
|
Key logging is enabled by setting the environment variable <samp>SSLKEYLOGFILE</samp> so that it points to a writable
|
||
|
text file. Recent versions of WireShark can use these log files to decrypt packets.
|
||
|
You can specify the key file path in WireShark via<br>
|
||
|
<samp>Edit → Preferences → Protocols → SSL → (Pre)-Master-Secret log filename</samp>.
|
||
|
|
||
|
Note that <samp>SSLKEYLOGFILE</samp> is respected by other programs as well, e.g. Firefox and Chrome.
|
||
|
If this creates any issues, you can set <samp>MITMPROXY_SSLKEYLOGFILE</samp> alternatively.
|