aspose file tools*
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
Author

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
Hi,

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

Hope it helps.


Regards,
Rok


SCJP, SCWCD
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Rok,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.net.ssl.SSLException: No available certificate
 
Similar Threads
FTPS / FTP over SSL with Jakarta Commons Net
another guy who can't get SSL working within Tomcat
Plain socket to SSL
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL ci
Server Socket :Unable to make connection