javax.net.ssl.SSLProtocolException – Message handshake alert: unrecognized_name Trace – getContentEncoding in java.net.URLConnection

javax.net.ssl.SSLProtocolException – Message handshake alert: unrecognized_name Trace – getContentEncoding in java.net.URLConnection

        This is an error due to a bug in Java version 1.7. It can be solved by adding the following line in your Java application.

System.setProperty ("jsse.enableSNIExtension", "false");

         This error occurs mainly in private or corporate networks where there are security protocols implemented.

[ YOU MAY ALSO LIKE ]

Leave a Reply