util: fix typo in get_consumer_secrets
Consumer key and cert paths were swapped.
This commit is contained in:
parent
919e03ed20
commit
cb989f79b1
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ class Subscriptions:
|
|||
@staticmethod
|
||||
def get_consumer_secrets():
|
||||
"""Returns the consumer identity certificate which uniquely identifies the system"""
|
||||
key = "/etc/pki/consumer/cert.pem"
|
||||
cert = "/etc/pki/consumer/key.pem"
|
||||
key = "/etc/pki/consumer/key.pem"
|
||||
cert = "/etc/pki/consumer/cert.pem"
|
||||
|
||||
if not (os.path.exists(key) and os.path.exists(cert)):
|
||||
raise RuntimeError("rhsm consumer key and cert not found")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue