javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
Searched on Google with the first line of a JAVA stack trace?
We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.
Recommended solutions based on your search
Samebug tips
The server sends an "Unrecognized Name" warning. Workaround:
System.setProperty("jsse.enableSNIExtension", "false");
Solutions on the web
via GitHub by vittali
, 2 years agovia htmlunit by asashour
, 1 year agovia GitHub by elephaant
, 2 years agovia GitHub by ikriz
, 2 years agovia Stack Overflow by leo
, 1 year agovia GitHub by w3e
, 1 year agojavax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)