handshake alert: unrecognized_name – Solved

The exception handshake alert:  unrecognized_name handshake alert:  unrecognized_name

is actually a bug in the Java v1.7. However we wont get this exception in Java v1.6. To solve this issue, you can either roll back the Java version to 1.6 or add the following code to your start of the program.

System.setProperty(“jsse.enableSNIExtension”, “false”);

Leave a Reply