Add openSUSE certificate support

This commit is contained in:
Sascha Peilicke
2012-05-23 14:20:50 +02:00
parent 08ac9897bb
commit 66ef8886c6
+4
View File
@@ -40,6 +40,10 @@ POSSIBLE_CA_BUNDLE_PATHS = [
'/etc/ssl/certs/ca-certificates.crt',
# FreeBSD (provided by the ca_root_nss package):
'/usr/local/share/certs/ca-root-nss.crt',
# openSUSE (provided by the ca-certificates package), the 'certs' directory is the
# preferred way but may not be supported by the SSL module, thus it has 'ca-bundle.pem'
# as a fallback (which is generated from pem files in the 'certs' directory):
'/etc/ssl/ca-bundle.pem',
]
def get_os_ca_bundle_path():