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 Dhaval Dosi
, 1 year ago
Received fatal alert: unknown_ca
via Stack Overflow by Konrad
, 2 years ago
Received fatal alert: handshake_failure
via GitHub by dma
, 2 years ago
via GitHub by landonreed
, 4 months ago
via apache.org by Unknown author, 9 months ago
via Stack Overflow by Angelo Immediata
, 2 years ago
Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
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.readDataRecord(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)

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.