Hostname verification fails in LDAPS

Solution Verified - Updated -

Issue

  • I get one of these errors :

    [Host Controller] 09:41:59,437 INFO  [stdout] (HttpManagementService-threads - 1) HttpManagementService-threads - 1, handling exception: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching host.example.com found
    

    or

    [Host Controller] 09:41:59,437 INFO  [stdout] (HttpManagementService-threads - 1) HttpManagementService-threads - 1, handling exception: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching host.example.com found.
    

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP) 6, 7
  • JDK (Java Development Kit) 1.8.0_181 or later

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