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

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 Stack Overflow by Unknown author, 2 years ago
Received fatal alert: handshake_failure
via baba.io by Unknown author, 2 years ago
Received fatal alert: handshake_failure
via smartbear.com by Unknown author, 1 year ago
via Stack Overflow by Noman Amir
, 2 years ago
Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
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:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at java.io.OutputStream.write(OutputStream.java:75)
at com.icesoft.icepush.APNSNotificationProvider.send(APNSNotificationProvider.java:115)
at org.icepush.servlet.MainServlet$DefaultOutOfBandNotifier.broadcast(MainServlet.java:212)
at org.icepush.PushID$ConfirmationTimeout.run(PushID.java:329)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

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

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