4.6.2. Resolving error “Unable to verify server's identity: certificate verify failed”

If Subscription Manager is unable to verify the server identity, ensure that:
  • The date and time on the system is accurate. An inconsistency of one second or more can cause issues with verifying the system’s certificate.
  • The hostname entry in /etc/rhsm/rhsm.conf is correct:
    Server hostname: hostname = subscription.rhsm.redhat.com
  • Verify the readability and sanity of the cert:
    openssl x509 -text -in /etc/rhsm/ca/redhat-uep.pem
  • Subscription Manager is up-to-date:
    yum update python-rhsm subscription-manager
  • Registration is succeeding with "insecure = 0" in rhsm.conf