From f45f3dd4f1e0f494c59a1af9e35a9ce38ff83ed2 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 4 Mar 2015 23:06:58 +0100 Subject: update docs --- doc-src/ssl.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc-src/ssl.html') diff --git a/doc-src/ssl.html b/doc-src/ssl.html index d8ec3d4e..de45bd29 100644 --- a/doc-src/ssl.html +++ b/doc-src/ssl.html @@ -72,8 +72,12 @@ For example, you can generate a certificate in this format using these instructi Using a client side certificate ------------------------------------ -You can use a client side certificate file by specifying the directory in which the certificate is present after this argument, "--client-certs". The certificate file should be in .pem format after the url of the website whose certificate you've specified. Suppose, for example you want to open mitmproxy.com with a client side certificate, your certificate file's name should be like "mitmproxy.com.pem". - +You can use a client certificate by passing the --client-certs DIRECTORY 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 ------------------------------------ -- cgit v1.2.3