Certificate upload in RHUI fails with error "rhui.common.exceptions.RhuiException: Failed to open /etc/rhui/cdn.redhat.com-chain.crt".
Issue
-
Certificate upload using rhui-manager fails with error:
# rhui-manager cert upload --cert xyz.pem Updating repository ansible-2-for-rhel-8-x86_64-rhui-rpms with certificate wxyz.pem... An unexpected error has occurred during the last operation. Failed to open /etc/rhui/cdn.redhat.com-chain.crt: [Errno 2] No such file or directory: '/etc/rhui/cdn.redhat.com-chain.crt'.
Environment
- RHUI 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.