rhevm-shell reports "Connection failure, [Errno 185090050] _ssl.c:328: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib".

Solution Verified - Updated -

Issue

While using the rhevm-shell command, the following error is reported;

error: [ERROR]::Connection failure, [Errno 185090050] _ssl.c:328: error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib

This can occur when trying to connect from command line, e.g.

rhevm-shell -c -l "https://rhevm-fqdn-ip/api" -u "admin@internal" -A ca-cert-file

where rhevm-fqdn-ip is the fully qualified hostname or ip address of the RHEV Manager being connected to and ca-cert-file is the pathname of the CA certficate file.

This can also occur when trying to connect from within rhevm-shell itself, e.g.

[RHEVM shell (disconnected)]# connect --url rhevm-fqdn-ip:8443 --username admin@internal --password xxxxxx --ca-file ca-cert-file

Environment

  • Red Hat Enterprise Virtualization Manager (RHEV-M) 3.1
  • Red Hat Enterprise Virtualization Command Line Shell (RHEV CLI)
  • rhevm-cli-3.1.x.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.