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

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 Karikalan
, 1 year ago
Received fatal alert: certificate_unknown
via Stack Overflow by Unknown author, 2 years ago
Received fatal alert: handshake_failure
via smartbear.com by Unknown author, 1 year ago
via baba.io by Unknown author, 2 years ago
Received fatal alert: handshake_failure
via Stack Overflow by Noman Amir
, 2 years ago
Received fatal alert: handshake_failure
via Stack Overflow by conceptcrk
, 11 months ago
Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.Alerts.getSSLException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at java.io.OutputStream.write(Unknown Source)
at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:302)
at com.ibm.pushworks.server.notification.apns.ApnsConnectionImpl.sendMessage(ApnsConnectionImpl.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

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
111 more bugmates

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