subscription-manager register command fails with error 'returned status 502'.
Issue
subscription-manager register
command fails with following error:-
# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username:<username>
Password:<password>
Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.
Environment
- Red Hat Enterprise Linux Server
- Red Hat Subscription Management (RHSM)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.