Fixing default CA which ought to be read as a pemfile and not a directory

This commit is contained in:
Kyle Morton 2015-07-21 18:01:51 -07:00
parent 9fdc412fa0
commit 155bdeb123

View File

@ -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