The code changes required in the driver is minimum:
We just need to use the two new parameters "ca_cert" and "no_verification" in the new Connection API:
conn = pywbem.WBEMConnection(url, creds, default_namespace=namespace, x509=None, verify_callback=None, ca_certs=’/etc/cinder/ca_certs/dsib2202.lss.emc.com.crt’, no_verification=False)
However, we encountered problems when testing this. The pywbem library packaged with Ubuntu 12.04 and 14.04 is 0.7.0, which was released in 12/12/2008. It doesn't support "ca_certs" and "no_verification". Version 0.8.0 is still under development.
There are newer RPM packages that have these parameters and we tried to convert the RPM package but couldn't get it to work on Ubuntu. Until Ubuntu has the newer version of the pywbem library, we can't make these changes that don't work on Ubuntu.
Let me know if you have other suggestions. Thanks.
Jay,
The code changes required in the driver is minimum:
We just need to use the two new parameters "ca_cert" and "no_verification" in the new Connection API: WBEMConnection( url,
creds,
default_ namespace= namespace,
x509= None,
verify_ callback= None,
ca_ certs=’ /etc/cinder/ ca_certs/ dsib2202. lss.emc. com.crt’ ,
no_ verification= False)
conn = pywbem.
However, we encountered problems when testing this. The pywbem library packaged with Ubuntu 12.04 and 14.04 is 0.7.0, which was released in 12/12/2008. It doesn't support "ca_certs" and "no_verification". Version 0.8.0 is still under development.
There are newer RPM packages that have these parameters and we tried to convert the RPM package but couldn't get it to work on Ubuntu. Until Ubuntu has the newer version of the pywbem library, we can't make these changes that don't work on Ubuntu.
Let me know if you have other suggestions. Thanks.