I tried to register a newly installed Red Hat Enterprise Linux 7 server with the subscription-manager command but got the following error:
Unable to verify server's identity: certificate verify failed
In the rhsm.log file there is the same error with a bit of more details but unfortunately nothing to point me in the right direction:
[DEBUG] subscription-manager @connection.py:450 - Making request: GET https://subscription.rhn.redhat.com:443/subscription/users/xxx/owners
[ERROR] subscription-manager @managercli.py:156 - Error during registration: certificate verify failed
[ERROR] subscription-manager @managercli.py:157 - certificate verify failed
After some searching, I came across a Red Hat Solution, which mentions to check the current time.
Indeed, after having fixed the time, the registration worked:
date --set="13 JAN 2015 12:20:15"
The system has been registered with ID: xxx