SSLProtocolException: handshake alert: unrecognized_name calling Apache with Java application
Issue
- handling exception: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
- TLS handshake failing with Red Hat JBoss Enterprise Application Platform 6 calling Red Hat JBoss Web Server when Server Name Indication (SNI) is used
Environment
- Java 7 or later SSL client
- for example, Red Hat JBoss Enterprise Application Platform 6
- Apache HTTP Server configured with virtual hosts
- for example, Red Hat JBoss Web Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.