How to fix subscription-manager error "Too many content sets for certificate Red Hat Enterprise Linux Server" using RHN and be able to revert back to Red Hat Subscription Management after updating.
Step 1: Clean up the subscription-manager if needed:
Step 2: Register to Red Hat Network (RHN) using rhn_register:# subscription-manager unsubscribe --all # subscription-manager unregister # subscription-manager clean
# rhn_registerNote: You will need your RH login and password to complete the wizard.
Step 3: Validate RHN registration of the system:
# yum repolistNote: Look at Loaded plugins in the output and "rhnplugin" should be listed.
Step 4: Update subscription-manager* and python-rhsm* packages:
Example output below:
Note: Answer the questions when prompted. Validate the updates were applied successfully by examining the output.Updated Packages python-rhsm.x86_64 1.12.5-2.el6 rhel-x86_64-server-6 subscription-manager.x86_64 1.12.14-9.el6_6 rhel-x86_64-server-6 subscription-manager-firstboot.x86_64 1.12.14-9.el6_6 rhel-x86_64-server-6 subscription-manager-gnome.x86_64 0.99.19.4-1.el6_3 rhel-x86_64-server-6 # yum update subscription-manager* python-rhsm*
Step 5: Unregister from RHN in preparation to register with subscription-manager:
- In the online Red Hat Portal, login.
- Access Subscription Management.
- Access RHN Classic Management -> All Registered Systems.
- Click on System Entitlements (you need to see check boxes next to systems).
- Select the check box next to the system you are working on.
- Click the "Unentitle" button at bottom middle of page.
- Validate the entitlement has been removed for the system.
- Perform the below command on the system's CLI:
# rm /etc/sysconfig/rhn/systemid
Note: Validate that no subscriptions are showing active.
# subscription-manager list --availableNote: A message similar to below should be displayed.
This system is not yet registered. Try 'subscription-manager register --help' for more information.Register the system using your credentials to RHSM:
# subscription-manager register --username=xxxxxx --password='xxxxxx'Note: You will need your Red Hat Portal Username and Password for the account the system will be registered under. Make note of the ID that the system will be registered when this command returns.
Validate that the subscription-manager plugin is loaded
# yum repolistLook at Loaded plugins in the output where "subscription-manager" should be listed.
Validate that subscriptions are showing available now:
# subscription-manager list --availableValidate the Subscription Name, SKU, Contract, Account and Pool ID are showing up correctly. Make note of the "Pool ID" that will be required to subscribe in the next task. Register the system using one of the pools above:
# subscription-manager subscribe --pool='[POOL_ID_Number]'Note: Where "[POOL_ID_Number]" should be obtained from the preceding task.
Make sure a message stating "Successfully attached a subscription for" the system is shown.
Step 7: Validate that the system is now consuming a subscription:
# subscription-manager list --consumedValidate the Subscription Name, SKU, Contract, Account and Pool ID are correct.
# subscription-manager listNote: The Status should show "Subscribed".
Step 8: Validate in Red Hat Portal that the new system shows up as well.
In Red Hat Portal:
- In the online Red Hat Portal, login.
- Access Subscription Management.
- Access Red Hat Subscription Management -> Subscriber Inventory -> Click on Systems.
- Examine the Systems inventory to validate the new system is now visible and shows a subscription attached.
If you found this useful, here's more on the same topic(s) in our blog:
- PS1
- Automating microcode discovery
- HOWTO: set up ssh keys
- How to make a system backup of a VIOS
- Report the end result of a TSM backup
UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.
Interested in learning more?
Interested in learning more?




