'subscription-manager' fails to register with 'ssl' error
Issue
subscription-manager
fails with the following error when trying register.
# tail /var/log/rhsm/rhsm.log
..
2020-04-03 10:43:28,964 [INFO] subscription-manager:99163:MainThread @dmiinfo.py:73 - Using dmidecode dump file: /dev/mem
2020-04-03 10:43:29,492 [ERROR] subscription-manager:99163:MainThread @managercli.py:177 - ?~S??~] ?~O~D?~Q ?~X??~X ?~\?~C~]: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify faii
led (_ssl.c:579)
2020-04-03 10:43:29,493 [ERROR] subscription-manager:99163:MainThread @managercli.py:178 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
Traceback (most recent call last):
..
- The system is connected to internet and 'subscription.rhn.redhat.com' is pingable
Environment
- Red Hat Enterprise Linux 7 or later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.