Comment 1 for bug 1964549

Revision history for this message
Adam Dyess (addyess) wrote :

Fortunately the openstack-integration has access to the ca-cert for that endpoint when _determine_version is called.

We can simply pass that ca_cert through to the call of _determine_version like this:

def _determine_version(attrs, endpoint, endpoint_tls_ca):
   ...

and when urlopen is called, ensure that it's called setting the argument cafile to point to a temporary file holding the cert value.

I'm working on a solution for this but i've got to get access to an openstack cluster that has an https keystone endpoint