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
Todd E from Taiwan wrote on May 11th, 2015:
thanks so much for your post! I couldn't figure this one out. I wish Redhat was a bit more insightful.
Personal Internet VMware PHP Linux Shell Bluecoat Proxy Windows Hardware Virtualization Nagios MySQL DB Monitoring Mail Android Network Wyse Hacks Tomcat Postgres Apple Mac Backup BSD ZFS Solaris SmartOS Unix Multimedia Perl Database MongoDB CMS OTRS FreeBSD Wordpress LXC Nginx Proxmox DNS Graphics GlusterFS Security Chef HAProxy Icinga Ansible HTML MariaDB Containers Rancher Docker AWS ELK Kibana Logstash Filebeat Varnish PGSQL PostgreSQL ElasticSearch CouchDB Bash Macintosh Container Minio Grafana InfluxDB Databases NFS OSSEC SystemD Java Zoneminder Surveillance Elasticsearch SSL TLS Icingaweb2 Cloud Wireless Kubernetes Ubuntu