From fe42a13114101499fbf97c05e40ed3030216ab95 Mon Sep 17 00:00:00 2001
From: markt keyPass connector attribute. (markt)
+
Finally, you will be prompted for the key password, which is the
password specifically for this Certificate (as opposed to any other
-Certificates stored in the same keystore file). You MUST
-use the same password here as was used for the keystore password itself.
-This is a restriction of the Tomcat implementation.
-(Currently, the keytool prompt will tell you that pressing the
-ENTER key does this for you automatically.)
keytool prompt
+will tell you that pressing the ENTER key automatically uses the same password
+for the key as the keystore. You are free to use the same password or to select
+a custom one. If you select a different password to the keystore password, you
+will also need to specify the custom password in the server.xml
+configuration file.
If everything was successful, you now have a keystore file with a Certificate that can be used by your server.
-Note: your private key password and keystore password
-should be the same. If they differ, you will get an error along the lines
-of java.io.IOException: Cannot recover key, as documented in
-Bugzilla issue 38217,
-which contains further references for this issue.