diff options
author | Maximilian Hils <git@maximilianhils.com> | 2020-04-16 14:09:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 14:09:40 +0200 |
commit | 7c72776b2d1edc3453f536d4cb761faf4b2b71aa (patch) | |
tree | 82d9506a8c93be785c9a27f90de3a6b7ef2c0d86 | |
parent | bfb8da4b1c5f1422b4a9031d1e3e77d40552208c (diff) | |
download | mitmproxy-7c72776b2d1edc3453f536d4cb761faf4b2b71aa.tar.gz mitmproxy-7c72776b2d1edc3453f536d4cb761faf4b2b71aa.tar.bz2 mitmproxy-7c72776b2d1edc3453f536d4cb761faf4b2b71aa.zip |
include full client certificate chain
Testing this requires quite a bit of effort, so it makes sense to not waste any effort here and only do it for the sans-io implementation.
-rw-r--r-- | mitmproxy/net/tls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/net/tls.py b/mitmproxy/net/tls.py index d8e943d3..4c0f1d6b 100644 --- a/mitmproxy/net/tls.py +++ b/mitmproxy/net/tls.py @@ -297,7 +297,7 @@ def create_client_context( if cert: try: context.use_privatekey_file(cert) - context.use_certificate_file(cert) + context.use_certificate_chain_file(cert) except SSL.Error as v: raise exceptions.TlsException("SSL client certificate error: %s" % str(v)) return context |