SSLProtocolException: handshake alert: unrecognized_name calling Apache with Java application

Solution Unverified - Updated -

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.

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