Supporting SSL cert location on SunOS (SmartOS, really)

pull/8817/head
Dan Buch 10 years ago
parent 3bd1e4f8b5
commit 290f2759e1

@ -204,6 +204,8 @@ class SSLValidationHandler(urllib2.BaseHandler):
paths_checked.append('/etc/ssl')
elif platform == 'NetBSD':
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
# location if the OS platform one is not available

Loading…
Cancel
Save