The host registration in Red Hat Satellite 6 fails with an SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] due to a certificate verification failure in the _ssl.c file.

Solution Verified - Updated -

Issue

  • The Content-host registration process encounters an error and fails.

    # subscription-manager register --org="org" --activationkey="key" 
    
    2019-08-05 14:33:34,315 [ERROR] subscription-manager:29125:MainThread @hwprobe.py:649 - Error during resolving IPv6 address of hostname: host.example.com, [Errno -5] No address associated with hostname
    2019-08-05 14:33:34,333 [ERROR] subscription-manager:29125:MainThread @managercli.py:181 - Error during registration: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
    2019-08-05 14:33:34,334 [ERROR] subscription-manager:29125:MainThread @managercli.py:182 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
    
    SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
    Unable to verify server's identity: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
    

Environment

  • Red Hat Satellite 6

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