Why RHSM fails with the error `SubscriptionManagerError: Unable to read certificate, system is not registered or you are not root` while doing system registration?
Issue
- Seeing this error in /var/log/rhsm/rhsm.log:
SubscriptionManagerError: Unable to read certificate, system is not registered or you are not root
2014-04-16 18:13:19,787 [ERROR] @virt-who.py:124 - Unable to obtain status from server, UEPConnection is likely not usable:
Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 115, in initSM
self.subscriptionManager = SubscriptionManager(self.logger)
File "/usr/share/virt-who/subscriptionmanager.py", line 42, in __init__
self.readConfig()
File "/usr/share/virt-who/subscriptionmanager.py", line 56, in readConfig
raise SubscriptionManagerError("Unable to read certificate, system is not registered or you are not root")
SubscriptionManagerError: Unable to read certificate, system is not registered or you are not root
2014-04-16 18:13:19,787 [ERROR] @virt-who.py:184 - Unable to recover, retry in 60 seconds.`
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.