Yum command fails with error Unable to communicate securely with peer requested domain name does not match the server's certificate.
Issue
-
Client connected to the load-balanced capsules fails to run yum repolist with the following error message:
https://loadbalancer.example.com/pulp/repos/Default_Organization/Library/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#51 - "Unable to communicate securely with peer: requested domain name does not match the server's certificate." Trying other mirror.
Environment
- Red Hat Satellite and Capsule 6.11+
- Load-balanced Capsules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.