Why does Importing entitlement certificates for offline registration fails with error "xxxxx.pem is not a valid certificate file. Please use a valid certificate."
Issue
-
subscription-manager
fails to import the entitlement certificate for offline registration:-# subscription-manager import --certificate=/tmp/redhat/69626b87-4a12-4220-9620-92e3b85f9ae1.pem 69626b87-4a12-4220-9620-92e3b85f9ae1.pem is not a valid certificate file. Please use a valid certificate.
Environment
- Red Hat Enterprise Linux
- Red Hat Subscription Manager(RHSM)
- Red Hat Customer Portal
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.