javax.net.ssl.SSLHandshakeException: Received fatal alert: unrecognized_name


Samebug tips1

Import the server certificate into your truststore.


,
via Stack Overflow by Strelok

Solutions on the web361

Solution icon of stackoverflow
Received fatal alert: unrecognized_name

Solution icon of github
Received fatal alert: unrecognized_name

Solution icon of github
via GitHub by renzors
, 11 months ago
Received fatal alert: unrecognized_name

Solution icon of github
via GitHub by otsakir
, 1 year ago
Received fatal alert: handshake_failure

Solution icon of github
via GitHub by landryb
, 1 year ago
Received fatal alert: handshake_failure

Solution icon of github
via GitHub by ilg-ul
, 8 months ago
Received fatal alert: handshake_failure

Solution icon of github
via GitHub by julie-sullivan
, 11 months ago
Received fatal alert: handshake_failure

Solution icon of github
via GitHub by davewang
, 1 year ago
Received fatal alert: handshake_failure

Solution icon of github
via GitHub by wildfly-ci
, 1 year ago
Received fatal alert: bad_certificate

Solution icon of github
Received fatal alert: handshake_failure

Stack trace

javax.net.ssl.SSLHandshakeException: Received fatal alert: unrecognized_name
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:2023)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1125)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
	at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:563)
	at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:540)
	at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:227)
	at org.jsoup.helper.HttpConnection.get(HttpConnection.java:216)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
136 more bugmates