javax.net.ssl.SSLHandshakeException: no cipher suites in common server cipher suite [TLS_DHE_RSA_WITH_AES_128_CBC_SHA256] server enabled protocol [TLSv1.2]

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 feten el feki
, 1 year ago
no cipher suites in common server cipher suite [TLS_DHE_RSA_WITH_AES_128_CBC_SHA256] server enabled protocol [TLSv1.2]
via Stack Overflow by Krishnaraj
, 1 year ago
via csdn.net by Unknown author, 2 years ago
via 21tx.com by Unknown author, 2 years ago
no cipher suites in common Waiting for connection...
via ddvip.com by Unknown author, 2 years ago
javax.net.ssl.SSLHandshakeException: no cipher suites in common server cipher suite [TLS_DHE_RSA_WITH_AES_128_CBC_SHA256] server enabled protocol [TLSv1.2]
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:266)
at sun.security.ssl.ServerHandshaker.chooseCipherSuite(ServerHandshaker.java:894)
at sun.security.ssl.ServerHandshaker.clientHello(ServerHandshaker.java:622)

Users with the same issue

10 times, 1 month ago
2 times, 2 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.