Certificate upload in RHUI fails with error "rhui.common.exceptions.RhuiException: Failed to open /etc/rhui/cdn.redhat.com-chain.crt".

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content