Hi Alexander,
As Mark has previously mentioned, there's no entry type of
'privateKeyEntry' which is *required* for the certificate to work. I
suspect what has happened is that you might not have been in the
directory with your keystore file or you did not specify the right
keystore as keytool is a little sneaky in this regard. If the keystore
doesn't exist in the location that is specified, it will create it for
you, but it will of course be missing the Private Key. I see this happen
all too often. See if you have another 'keystore.kdb' file on your
system and then try installing your certificate into it.
--Crypto.Sal
On 02/14/2011 12:52 PM, Mark Thomas wrote:
On 14/02/2011 15:45, Alexander Mills wrote:
For reference,
keytool -list -keystore keystore.kdb
[root@localhost tomcat5]# keytool -list -keystore keystore.kdb
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
tomcat, Feb 14, 2011, trustedCertEntry,
Certificate fingerprint (MD5):
FC:XX:XX:87:74:CF:29:7A:F1:XX:9B:6E:18:32:7E:XX
That is just a certificate - there is no key so that is never going to work.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org