Wget retruns 'The certificate of ‘cdn.redhat.com’ is not trusted'
Issue
- While running
wgetagainst 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.