Red Hat Bugzilla – Bug 1459199
Fence agent for VMWare cannot login when certificate is self-signed
Last modified: 2017-08-01 12:10:32 EDT
Due to the changes in python/ssl modules it is no longer possible to login to VMWare.
Following code has to be added:
if hasattr(ssl, '_create_unverified_context'):
ssl._create_default_https_context = ssl._create_unverified_context
Similar issue was already solved in pcs (upstream)
Source of the problem should be here:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.