1
votes

Because when I run keytool in cmf.exe fill all fields and keep asking me back

keytool -genkey -v -keystore [keystore_name].keystore -alias [alias_name] -keyalg RSA -keysize 2048 -validity 10000

Do not generate the keystore, after asking if everything is correct, and I put yes becomes responsive again. Because? I'm doing wrong?

1

1 Answers

1
votes

Not sure what is going wrong for you. And it works for me.

Try giving all the parameters in one go, like this :

keytool -genkey -v -keystore test.jks -alias test -keyalg RSA -keysize 2048 -validity 10000 -storepass test-keypass test-dname "CN=test.com,OU=Test,O=Test,L=Test,S=Test,C=Test"

This should store the keystore without prompting for confirmation.