Wget retruns 'The certificate of ‘cdn.redhat.com’ is not trusted'

Solution Verified - Updated -

Issue

  • While running wget against CDN, it fails with the below error.
#  wget https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml
--2024-10-21 20:49:07--  https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml
Resolving cdn.redhat.com (cdn.redhat.com)... xx.xx.xx.xx
Connecting to cdn.redhat.com (cdn.redhat.com)|xx.xx.xx.xx|:443... connected.
ERROR: The certificate of ‘cdn.redhat.com’ is not trusted.
ERROR: The certificate of ‘cdn.redhat.com’ hasn't got a known issuer.

Environment

  • Red Hat Enterprise Linux
  • Red Hat CDN

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