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

Solution Verified - Updated -


  • 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.


  • 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.

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