Running yum and rhn_check commands on a client connected to RHN Proxy is encountering "[('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]"

Solution Verified - Updated -

Issue

  • Getting the following error when running yum and rhn_check commands:
[client]# /usr/sbin/rhn_check -vvv
...
ERROR: SSL errors detected
[('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
...
  • If we use http instead of https then yum and rhn_check works fine

Environment

  • Red Hat Satellite Proxy 5.6 connected to RHN (instead of another Satellite)

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.