mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Fixing default CA which ought to be read as a pemfile and not a directory
This commit is contained in:
parent
9fdc412fa0
commit
155bdeb123
@ -422,7 +422,7 @@ class _Connection(object):
|
||||
|
||||
context.set_verify(verify_options, verify_cert)
|
||||
if ca_path is None and ca_pemfile is None:
|
||||
ca_path = certifi.where()
|
||||
ca_pemfile = certifi.where()
|
||||
context.load_verify_locations(ca_pemfile, ca_path)
|
||||
|
||||
# Workaround for
|
||||
|
Loading…
Reference in New Issue
Block a user