0
votes

I am trying to enable SSL on tomcat and user the following command to generate my keystore

/jdk1.6.0_23/bin/keytool -genkey -alias grc -keyalg RSA -keystore keystore -storetype pkcs12

this works fine and a keystore is generated, however in all tutorials i find online, they state that as the last step i should be prompted for a keypass, which i then must enter the same values i entered for the first two prompts asking for the storepass. my problem : i never get this last prompt.

I am running this on Oracle Enterprise Linux 5.

Any thoughts?

1

1 Answers

1
votes

Keytool always uses the keystore password for the keys when using keystore type pkcs12. It doesn't prompt for it because it can't be changed, and if you try to provide one with -keypass you'll get a warning stating it's being ignored.