mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
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.
This commit is contained in:
parent
bfb8da4b1c
commit
7c72776b2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user