Missing File cert.pem When Registering Host to Satellite With Activation Key and CA Certificate Is Missing
Issue
Registering a content host to a Satellite server with the following 2 criteria:
- the /etc/rhsm/ca/katello-server-ca.pem file is missing
- the --activation flag is used with the subscription-manager command
Will result in an error message about the cert.pem file missing, and not about the missing CA certificate:
[root@host1 ~]# subscription-manager register --activationkey=rhel9 --org=Yoder
Error loading certificate: [Errno 2] No such file or directory: '/etc/pki/consumer/cert.pem'
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.