Registering to RHN using RHSM fails with the "certificate verify failed" error
Environment
- Red Hat Enterprise Linux 6.x
Issue
- Registration using Red Hat Subscription Management (RHSM) failed with the "certificate verify failed" error:
[root@user rhn]# subscription-manager register
Username: <username>
Password:
certificate verify failed
[root@user rhn]#
Resolution
-
Check current time is correct.
-
Disable certificate validation:
In /etc/rhsm/rhsm.conf, change
# Set to 1 to disable certificate validation:
insecure = 0
to
insecure = 1
- Register the system.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
