rhevm-log-collector is failing with "SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

Solution Verified - Updated -

Issue

  • We are seeing the following when using rhevm-log-collector
[root@rhevm ovirt-engine]# rhevm-log-collector list
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): 
ERROR: Problem connecting to the REST API.Is the service available and does the CA certificate exist?
ERROR: _get_hypervisors_from_api: [ERROR]::oVirt API connection failure, [Errno 1] _ssl.c:490: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
INFO: No hypervisors were found, therefore no hypervisor data will be listed.

Or:

ERROR: Failure fetching information about hypervisors from API.Error: The host name "rhevm.example.com" contained in the URL doesn't match any of the names in the server certificate.
ERROR: _get_hypervisors_from_api: The host name "rhevm.example.com" contained in the URL doesn't match any of the names in the server certificate.
INFO: No hypervisors were found, therefore no hypervisor data will be listed.

Environment

  • Red Hat Enterprise Virtualization 3.x
  • Third-party SSL certificates for Apache/HTTPS

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content