diff --git a/doc-src/ssl.html b/doc-src/ssl.html index 68e9a57c3..03067c30e 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. + +
+> 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 ++ + Installing the mitmproxy CA ---------------------------