dnf update command failing with Curl error (58): Problem with the local SSL certificate.

Solution Verified - Updated -

Issue

  • dnf update command failing with Curl error (58): Problem with the local SSL certificate.

  • Unable to patch the server.

    Errors during downloading metadata for repository 'rhel-8-for-x86_64-supplementary-rpms':
    Curl error (58): Problem with the local SSL certificate for https://satellite.example.com/pulp/content/XYZ/Library/content/dist/rhel8/8/x86_64/supplementary/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-supplementary-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    

Environment

  • Red Hat Enterprise Linux Server
  • 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