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"
The password and keystore file path are correct. Everytime JBOSS starts, as soon as I try to go to 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?