Commit 2f869a63 by Jure Triglav

Add the default Homebrew path for OpenSSL certs on OS X

parent cd9ea137
...@@ -219,6 +219,8 @@ class SSLValidationHandler(urllib2.BaseHandler): ...@@ -219,6 +219,8 @@ class SSLValidationHandler(urllib2.BaseHandler):
# Write the dummy ca cert if we are running on Mac OS X # Write the dummy ca cert if we are running on Mac OS X
if platform == 'Darwin': if platform == 'Darwin':
os.write(tmp_fd, DUMMY_CA_CERT) os.write(tmp_fd, DUMMY_CA_CERT)
# Default Homebrew path for OpenSSL certs
paths_checked.append('/usr/local/etc/openssl')
# for all of the paths, find any .crt or .pem files # for all of the paths, find any .crt or .pem files
# and compile them into single temp file for use # and compile them into single temp file for use
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment