jQuery in Action, 3rd edition
The moose likes Java in General and the fly likes javax.net.ssl.SSLException: No available certificate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "javax.net.ssl.SSLException: No available certificate" Watch "javax.net.ssl.SSLException: No available certificate" New topic

javax.net.ssl.SSLException: No available certificate

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
I have 2 pojo service server and client. While running the server pojo am getting below exception.

Caused by: javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:303)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:253)

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Please assist us.
Rok Štelcer
Ranch Hand

Joined: Nov 03, 2009
Posts: 101

Perhaps you'll find an answer here.
Although it is a how to for JBoss, there are also some general tips.

Hope it helps.


Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492

Thanks for the reply. I fixed the issue.

javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword ---------- Required on Server side
javax.net.ssl.trustStore and javax.net.ssl.trust ---------- Required on Client side

for SSL validation

We can set the above parameters in the system property or in the java execution itself

saipraneeth nallapareddy
Ranch Hand

Joined: Dec 02, 2009
Posts: 159
can you explain it a bit clear because i am facing the same problem
Consider Paul's rocket mass heater.
subject: javax.net.ssl.SSLException: No available certificate
It's not a secret anymore!