aboutsummaryrefslogtreecommitdiffstats
path: root/doc-src
diff options
context:
space:
mode:
Diffstat (limited to 'doc-src')
-rw-r--r--doc-src/ssl.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc-src/ssl.html b/doc-src/ssl.html
index 3fa0e070..de45bd29 100644
--- a/doc-src/ssl.html
+++ b/doc-src/ssl.html
@@ -70,6 +70,13 @@ For example, you can generate a certificate in this format using these instructi
> mitmproxy --cert=cert.pem
</pre>
+Using a client side certificate
+------------------------------------
+You can use a client certificate by passing the <kbd>--client-certs DIRECTORY</kbd> option to mitmproxy.
+If you visit example.org, mitmproxy looks for a file named example.org.pem in the specified directory
+and uses this as the client cert. The certificate file needs to be in the PEM format and should contain
+both the unencrypted private key as well as the certificate.
+
Using a custom certificate authority
------------------------------------