aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Billingham <james@jamesbillingham.com>2013-12-11 13:11:19 +0000
committerJames Billingham <james@jamesbillingham.com>2013-12-11 13:11:19 +0000
commit3481c54d02e97515921090e939d14188fd0ceb3b (patch)
treedcb3dd17a64b308d12c706d24464e48ed598fdab
parentfb985b8b8720f32e866694f794b6eb6bfc8d0bad (diff)
downloadmitmproxy-3481c54d02e97515921090e939d14188fd0ceb3b.tar.gz
mitmproxy-3481c54d02e97515921090e939d14188fd0ceb3b.tar.bz2
mitmproxy-3481c54d02e97515921090e939d14188fd0ceb3b.zip
Added small note of file format
-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