Red Hat Bugzilla – Bug 1310454
subscription-manager list --available comes back with this error message "Invalid credentials.'
Last modified: 2016-02-22 11:57:20 EST
Created attachment 1129075 [details]
subscription-manager's log file
Description of problem:
Login as root on client the subscription-manager has been successfully registered. however, subscription-manager list --available comes out with this error message "Invalid credentials."
The system time is perfectly synchronized.
Version-Release number of selected component (if applicable):
rpm -qa | egrep "subscription-manager|python-rhsm"
server type: Red Hat Subscription Management
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
Steps to Reproduce:
1. subscription-manager list --available
returns repository list
This appears to be a configuration issue:
Looking the log file it appears that the consumer identity certificate has been removed.
2016-02-21 12:53:53,374 [DEBUG] subscription-manager @identity.py:143 - Reload of consumer identity cert /etc/pki/consumer/cert.pem raised an exception with msg: [Errno 2] No such file or directory: '/etc/pki/consumer/key.pem'
This would usually be the case if a system has either never been registered or was unregistered.
This can be validated by running "subscription-manager identity". If the consumer has been properly registered please re-open and attach the archive generated by "rhsm-debug system"