aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/cmdline.py')
-rw-r--r--mitmproxy/cmdline.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mitmproxy/cmdline.py b/mitmproxy/cmdline.py
index b1b860f8..a04a36ba 100644
--- a/mitmproxy/cmdline.py
+++ b/mitmproxy/cmdline.py
@@ -435,6 +435,12 @@ def proxy_ssl_options(parser):
help="Don't connect to upstream server to look up certificate details."
)
group.add_argument(
+ "--add-server-certs-to-client-chain", default=False,
+ action="store_true", dest="add_server_certs_to_client_chain",
+ help="Add all the certificates of the server to the certificate chain "
+ "that will be served to the client, as extras."
+ )
+ group.add_argument(
"--verify-upstream-cert", default=False,
action="store_true", dest="ssl_verify_upstream_cert",
help="Verify upstream server SSL/TLS certificates and fail if invalid "