Getting error "[Errno 14] curl#60 - Peer's certificate issuer has been marked as not trusted by the user" after running yum makecache on RHEL 7.0

Solution Verified - Updated -

Issue

  • Getting following error while running yum makecache

          # yum makecache
          Loaded plugins: langpacks, product-id, subscription-manager
          https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as  not trusted by the user."
          Trying other mirror.
          rhel-7-server-rpms/7Server/x86 FAILED
          https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/8186aed2eb250fcfa05b86dac3359aa8af7e5652-other.sqlite.bz2: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
          Trying other mirror.
          rhel-7-server-rpms/7Server/x86 FAILED
          https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/a997515513a9282a62ffc693b9fa84f8c91a2456-filelists.sqlite.bz2: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
          Trying other mirror.
          https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/a997515513a9282a62ffc693b9fa84f8c91a2456-filelists.sqlite.bz2: [Errno 14]         curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
    

Environment

  • Red Hat Enterprise Linux 7.0
  • nss-softokn-freebl
  • nss-softokn-freebl-devel

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