[jboss-user] [Beginner's Corner] - SSL Error - SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.

Jeff Eynon do-not-reply at jboss.com
Tue Aug 24 17:03:26 EDT 2010


Jeff Eynon [http://community.jboss.org/people/jeynon] created the discussion

"SSL Error - SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled."

To view the discussion, visit: http://community.jboss.org/message/558842#558842

--------------------------------------------------------------
Hi,

I am running JBOSS 5 and I am trying to get SSL working on tomcat.  I imported the .cer certificate that I want to use into my keystore.  The CSR for this certificate was NOT generated on the machine I'm trying to get working.  It was generated on another machine that uses Tomcat as well.  I would just like to import the cert into this machine and start using it. 

I imported the certificate into my keystore file.  I also imported the necessary CA roots and intermediate certs into the JDK and JRE cacerts keystore.  My SSL connector looks like this:

<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" 
               maxThreads="150" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" keystoreFile="..\..\..\jboss\server\keystore\server.keystore"     
        keystorePass="mypass" address="${jboss.bind.address}"  

The password and keystore file path are correct.  Everytime JBOSS starts, as soon as I try to go to  https://localhost https://localhost, I get hundreds of these errors in my server log file:

     SSL handshake errorjavax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.

How can I fix this?  What am I doing wrong?

Thanks,

Jeff

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/558842#558842]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100824/0e724a47/attachment.html 


More information about the jboss-user mailing list