aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src/dev/sslkeylogfile.html
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2015-02-28 03:35:28 +0100
committerMaximilian Hils <git@maximilianhils.com>2015-02-28 03:35:28 +0100
commiteec4c539f2f6b8124ab92d6087afb228874a479e (patch)
tree404b84a0e485e220520e45ac2a06c0922e0531a5 /doc-src/dev/sslkeylogfile.html
parente1b6cf940146ca91c6f583a3333b4b50b72875bb (diff)
downloadmitmproxy-eec4c539f2f6b8124ab92d6087afb228874a479e.tar.gz
mitmproxy-eec4c539f2f6b8124ab92d6087afb228874a479e.tar.bz2
mitmproxy-eec4c539f2f6b8124ab92d6087afb228874a479e.zip
SSLKEYLOGFILE docs
Diffstat (limited to 'doc-src/dev/sslkeylogfile.html')
-rw-r--r--doc-src/dev/sslkeylogfile.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc-src/dev/sslkeylogfile.html b/doc-src/dev/sslkeylogfile.html
new file mode 100644
index 00000000..1826fc2e
--- /dev/null
+++ b/doc-src/dev/sslkeylogfile.html
@@ -0,0 +1,8 @@
+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. \ No newline at end of file