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

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

,
via Stack Overflow by Strelok

Import the server certificate into your truststore.

Solutions on the web

via JIRA by Peter Atthem, 1 year ago
Received fatal alert: handshake_failure
via JIRA by Peter Atthem, 1 year ago
Received fatal alert: handshake_failure
via Stack Overflow by user5188395
, 2 years ago
Received fatal alert: certificate_unknown
via Stack Overflow by Max
, 2 years ago
Received fatal alert: handshake_failure
via Oracle Community by 881648, 1 year ago
Received fatal alert: unsupported_certificate [java]
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: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 org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.swift.common.soap.confluence.ConfluenceserviceV2SoapBindingStub.login(ConfluenceserviceV2SoapBindingStub.java:4821)
at org.swift.confluence.cli.ConfluenceClient.serviceLogin(ConfluenceClient.java:454)
at org.swift.common.cli.AbstractRemoteClient.remoteLogin(AbstractRemoteClient.java:444)
at org.swift.common.cli.AbstractRemoteClient.setupRemote(AbstractRemoteClient.java:421)
at org.swift.common.cli.AbstractRemoteClient.handleSetupRemote(AbstractRemoteClient.java:266)
at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:303)
at org.swift.common.cli.CliClient.doWork(CliClient.java:433)
at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171)

Users with the same issue

10 times, 2 months ago
2 times, 3 months ago
6 times, 1 year ago
540 times, 1 year ago
10 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.