Hostname verification fails in LDAPS

Solution Unverified - Updated -

Issue

Since I updated JDK to 1.8.0_181, I get errors of:

[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

  • JBoss Enterprise Application Platform 6, 7

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.