aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-10-09 00:49:11 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-10-09 00:49:11 +0200
commit5b33f7896136012ab8cd86999f5af2b90e66125b (patch)
tree052cfaea5074cf04ca92e405e7433607a3b5f695
parentd5c318b070305ac51e6b37f80336ab471af28d26 (diff)
downloadmitmproxy-5b33f7896136012ab8cd86999f5af2b90e66125b.tar.gz
mitmproxy-5b33f7896136012ab8cd86999f5af2b90e66125b.tar.bz2
mitmproxy-5b33f7896136012ab8cd86999f5af2b90e66125b.zip
add mini documentation
-rw-r--r--libmproxy/proxy/config.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/libmproxy/proxy/config.py b/libmproxy/proxy/config.py
index 24e09b6a..b5974807 100644
--- a/libmproxy/proxy/config.py
+++ b/libmproxy/proxy/config.py
@@ -133,10 +133,12 @@ def ssl_option_group(parser):
group.add_argument(
"--cert", dest='certs', default=[], type=str,
metavar="SPEC", action="append",
- help='Add an SSL certificate. SPEC is of the form "[domain=]path". ' \
- 'The domain may include a wildcard, and is equal to "*" if not specified. ' \
- 'The file at path is a certificate in PEM format. If a private key is included in the PEM, ' \
- 'it is used, else the default key in the conf dir is used. Can be passed multiple times.'
+ help='Add an SSL certificate. SPEC is of the form "[domain=]path". '
+ 'The domain may include a wildcard, and is equal to "*" if not specified. '
+ 'The file at path is a certificate in PEM format. If a private key is included in the PEM, '
+ 'it is used, else the default key in the conf dir is used. '
+ 'The PEM file should contain the full certificate chain, with the leaf certificate as the first entry. '
+ 'Can be passed multiple times.'
)
group.add_argument(
"--client-certs", action="store",