The yum command on RHEL host registered with Red Hat Satellite fails with download metadata error Cannot download repodata/repomd.xml: All mirrors were tried

Solution Verified - Updated -

Issue

  • Repositories are not accessible on content host registered with Red Hat Satellite 6

  • Yum command is getting failed with below error.

    - Curl error (58): Problem with the local SSL certificate for https://satellite.example.com/pulp/repos/RedHat/PROD/content-view/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:02001002:system library:fopen:No such file or directory, (no key found, wrong pass phrase, or wrong file format?)]
    Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    

Environment

  • Red Hat Satellite 6

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