Missing File cert.pem When Registering Host to Satellite With Activation Key and CA Certificate Is Missing

Solution Verified - Updated -

Issue

Registering a content host to a Satellite server with the following 2 criteria:

  1. the /etc/rhsm/ca/katello-server-ca.pem file is missing
  2. 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content