Hostname verification fails in LDAPS
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.