aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src
diff options
context:
space:
mode:
Diffstat (limited to 'doc-src')
-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