Commit 35dfbff2 by James Cammarata

Merge pull request #8817 from meatballhat/support-sunos-certs-location

Supporting SSL cert location on SunOS (SmartOS, really)
parents 3367c0ab 290f2759
...@@ -204,6 +204,8 @@ class SSLValidationHandler(urllib2.BaseHandler): ...@@ -204,6 +204,8 @@ class SSLValidationHandler(urllib2.BaseHandler):
paths_checked.append('/etc/ssl') paths_checked.append('/etc/ssl')
elif platform == 'NetBSD': elif platform == 'NetBSD':
ca_certs.append('/etc/openssl/certs') ca_certs.append('/etc/openssl/certs')
elif platform == 'SunOS':
paths_checked.append('/opt/local/etc/openssl/certs')
# fall back to a user-deployed cert in a standard # fall back to a user-deployed cert in a standard
# location if the OS platform one is not available # location if the OS platform one is not available
......
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