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.
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Container Containers CouchDB DB DNS Database Databases Docker ELK ElasticSearch Elasticsearch Filebeat FreeBSD GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb2 InfluxDB Internet Java KVM Kibana Kubernetes LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher SSL Security Shell SmartOS Solaris Surveillance SystemD TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder