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


Samebug tips

Import the server certificate into your truststore.


,
via Stack Overflow by Strelok

Solutions on the web

Solution icon of stackoverflow
Received fatal alert: handshake_failure

Solution icon of coderanch
Received fatal alert: handshake_failure

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

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

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

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

Solution icon of github
via GitHub by simon-brooke
, 4 months ago
Received fatal alert: handshake_failure

Solution icon of github
Received fatal alert: handshake_failure

Solution icon of googlegroups
via Google Groups by Marina K, 9 months ago
Received fatal alert: handshake_failure

Solution icon of googlegroups
via Google Groups by Oscar Chou, 1 year ago
Received fatal alert: handshake_failure

Stack trace

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	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:1977)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1093)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1328)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:515)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1090)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
	at org.springframework.ws.transport.http.HttpUrlConnection.getRequestOutputStream(HttpUrlConnection.java:84)

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, 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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
136 more bugmates