Registering Phyiscal server to Customer Portal Issues
I am trying to register a RHEL physical box to Customer Portal directly with "Subscription-manager register" ( Username and password ) for patching purpose. However, instead, it gets registered to Satellite server. What other configurations need to be checked?
Responses
Hello
The configuration is stored in /etc/rhsm/rhsm.conf, but you can pass the options on the command line. For example:
]# subscription-manager register \
--serverurl=subscription.rhsm.redhat.com:443/subscription \
--baseurl=https://cdn.redhat.com \
--username=<user_name>
But if you registered to Satellite before, you should unregister first, and I think you need to remove the certificate too. Try it.
I think you need at least:
]# subscription-manager unregister && subscription-manager clean
and probably also:
]# yum erase katello-ca-consumer\* && mv /etc/rhsm/rhsm.conf.kat-backup /etc/rhsm/rhsm.conf
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
