I am installing a SSL cert in my Tomcat server, but it fails to find the key entry in my keystore file.
If I don't specify
keyAlias="mykey" it shows me the following error message:
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
As I saw on Tomcat Documentation http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#Troubleshooting it tells me to specify the
However, when I do it, I get the following error message:
java.io.IOException: Alias name mykey does not identify a key entry
And if I
keytool -list -keystore .keystore -v, I get three key entries, two from the cert company and the last one:
Alias name: mykey Creation date: Dec 17, 2011 Entry type: trustedCertEntry
That is, the key entry is there, but Tomcat can't find it. The
keystoreFile is corrected set to the keystore file.
What can it be?