aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc-src/ssl.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc-src/ssl.html b/doc-src/ssl.html
index 03067c30..c904cf61 100644
--- a/doc-src/ssl.html
+++ b/doc-src/ssl.html
@@ -39,6 +39,9 @@ Using a custom certificate
You can use your own certificate by passing the __--cert__ option to mitmproxy.
+The certificate file is expected to be in the PEM format. You can generate
+a certificate in this format using these instructions:
+
<pre class="terminal">
> openssl genrsa -out cert.key 8192
> openssl req -new -x509 -key cert.key -out cert.crt