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)
|
context.set_verify(verify_options, verify_cert)
|
||||||
if ca_path is None and ca_pemfile is None:
|
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)
|
context.load_verify_locations(ca_pemfile, ca_path)
|
||||||
|
|
||||||
# Workaround for
|
# Workaround for
|
||||||
|
|
Loading…
Reference in New Issue