SynBioDex / pySBOL

SWIG-Python wrappers implementing SBOL 2.2
Apache License 2.0
25 stars 8 forks source link

Autoconfigure certificate authorty path #105

Closed jakebeal closed 4 years ago

jakebeal commented 4 years ago

@bbartley has a fix for certificate authority path problems:

Config.setOption('ca-path', path_to_ca_file)

Where path_to_ca_file is defined as follows for different Linux distros: Debian/Ubuntu: "/etc/ssl/certs/ca-certificates.crt" Fedora/RHEL: "/etc/pki/tls/certs/ca-bundle.crt" OpenSUSE : "/var/lib/ca-certificates/ca-bundle.pem"

Can we have the library attempt to autoconfigure by checking the OS that it is running on?

bbartley commented 4 years ago

4758ce0 appears to have resolved this, have confirmed on Ubuntu and CentOS at least.

bbartley commented 4 years ago

Debian certificate path is incorrectly hardcoded

bbartley commented 4 years ago

Nevermind, the Debian certificate path is correct.