Yum commands on Red Hat Satellite client fails with SSL peer certificate or SSH remote key was not OK error
Issue
-
YUM or DNF transactions on Red Hat Satelltie client fails with the following message.
Errors during downloading metadata for repository 'rhel-9-for-x86_64-baseos-rpms': - Curl error (60): SSL peer certificate or SSH remote key was not OK for https://satellite.example.com/pulp/content/RedHat/Library/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml [SSL: no alternative certificate subject name matches target host name '10.0.0.100']
Environment
- Red Hat Enterprise Linux
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.