How to disable SSL certificate hostname verification in JBoss EAP?
Issue
- JVM running JBoss EAP server fails to complete an SSL handshake with a remote server that presents a certificate that does not match the hostname of that server.
- Seeing exception similar to javax.net.ssl.SSLException: hostname in certificate didn't match: <test.com> != <example1.com> OR <example2.com>
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.