Unable to find Subscription Manager module Error: cannot import name CONTENT_ACCESS_CERT_TYPE

Solution Verified - Updated -

Issue

  • System registration fails with the below error:-
# subscription-manager register --username ******** --password ******** --auto-attach
Unable to find Subscription Manager module.
Error: cannot import name CONTENT_ACCESS_CERT_TYPE
  • subscription-manager commands fails with the error message Error: cannot import name CONTENT_ACCESS_CERT_TYPE

Environment

  • Red Hat Enterprise Linux
  • Red Hat Subscription Manager (RHSM)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In