[Python-modules-team] Bug#780264: Bug #780264 - Workouround for self-certificate
Jérémie LEGRAND
jeremie.legrand at komori-chambon.fr
Mon May 11 15:08:01 UTC 2015
Dear Maintainer,
I had the same problem, but applying the patch only partially resolved it: indeed, the exception is gone, but I obtain no result from the check_esxi_hardware.py. (I got: "UNKNOWN: ")
On my case, it was that checked ESXi server had an auto-generated certificate (thus, invalid for Python).
I modified the check_esxi_hardware.py script to open pywbem connection without checking SSL certificate, like this:
wbemclient = pywbem.WBEMConnection(hosturl, (user,password), NS)
replaced by
wbemclient = pywbem.WBEMConnection(hosturl, (user,password), NS, no_verification=True)
It is now ok.
(I am aware that disable certificate check is bad, but I'm on a dedicated internal network, and the risk of attack is very slow on my case)
Best regards,
Jeremie LEGRAND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150511/04ab2589/attachment.html>
More information about the Python-modules-team
mailing list