Subscription-manager command fails with "NetworkException: Network error code: 400"
Issue
-
Subscription-manager command fails with
Network error code: 400
[user@system ~]# subscription-manager list --available --all Error updating system data on the server, see /var/log/rhsm/rhsm.log for more details. [ERROR] rhsmcertd-worker:21003:MainThread @rhsmcertd-worker:148 - Error while updating certificates using daemon [ERROR] rhsmcertd-worker:21003:MainThread @rhsmcertd-worker:150 - Network error code: 400
-
Yum commands fails with error
Network error code: 400
# yum repolist Loaded plugins: product-id, security, subscription-manager Network error code: 400 repolist: 0
Environment
- Red Hat Enterprise Linux
- Red hat Subscription Management (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.