diff options
author | Maximilian Hils <git@maximilianhils.com> | 2013-12-11 14:04:45 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2013-12-11 14:04:45 +0100 |
commit | e99eaa3a19eb67005e211f5cf54add2361ab9fe5 (patch) | |
tree | bef915499d758522f6a8d0b32bdde667ba87e846 /doc-src | |
parent | f0e96be142dc9c43deb174bcaffc4b83726bb9bc (diff) | |
download | mitmproxy-e99eaa3a19eb67005e211f5cf54add2361ab9fe5.tar.gz mitmproxy-e99eaa3a19eb67005e211f5cf54add2361ab9fe5.tar.bz2 mitmproxy-e99eaa3a19eb67005e211f5cf54add2361ab9fe5.zip |
add documentation on how to use custom certificates
Diffstat (limited to 'doc-src')
-rw-r--r-- | doc-src/ssl.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc-src/ssl.html b/doc-src/ssl.html index 68e9a57c..03067c30 100644 --- a/doc-src/ssl.html +++ b/doc-src/ssl.html @@ -34,6 +34,20 @@ testing system or browser to trust the __mitmproxy__ CA as a signing root authority. +Using a custom certificate +-------------------------- + +You can use your own certificate by passing the __--cert__ option to mitmproxy. + +<pre class="terminal"> +> openssl genrsa -out cert.key 8192 +> openssl req -new -x509 -key cert.key -out cert.crt + (Specify the mitm domain as Common Name, e.g. *.google.com) +> cat cert.key cert.crt > cert.pem +> mitmproxy --cert=cert.pem +</pre> + + Installing the mitmproxy CA --------------------------- |