Why connecting to qpid broker via ssl produces "DNS name not matching" error?

Solution Verified - Updated -

Issue

We noticed that for c++ client, the DNS name portion of the URL has to match the broker certificate’s CN, otherwise, error "requested domain name does not match the server's certificate" is shown and the qpid’s library connection.open() will fail.

Why we see that connection/authentication rejections?

Environment

  • MRG Messaging (any version)
  • Red Hat Enterprise Linux 5 or higher
  • NSS libraries (any version)

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