Yum command fails with error Unable to communicate securely with peer requested domain name does not match the server's certificate.

Solution Verified - Updated -

Issue

  • Client connected to the load-balanced capsules fail 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.4+
  • Load-balanced Capsules

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In