Siphon uses the requests
module for HTTP access, and from the docs it looks like you can pass certs to session()
to use for HTTPS verification using the verify
argument.
To hook into this for creating HTTP sessions in Siphon, you can access siphon.http_util.session_manager
to set some default options, like is done in this example for HTTP authorization. So I think this would work:
from siphon.catalog import TDSCatalog
from siphon.http_util import session_manager
session_manager.set_session_options(verify='path/to/my/cert')
cat = TDSCatalog('https://myserver.net/thredds/catalog.xml')
I'm not sure what problem you're having exactly, but you may need to use the cert
attribute instead of verify
.