Hi,
I am getting following error message -
C:\Program Files\jboss-4.0.3SP1\bin>keytool -genkey -alias jboss -keypass rmi_s
sl -keyalg RSA -keystore jbosstest.keystore -validity 3650
Enter keystore password: rmi_ssl
What is your first and last name?
[Unknown]: localhost
What is the name of your organizational unit?
[Unknown]: test
What is the name of your organization?
[Unknown]: test
What is the name of your City or Locality?
[Unknown]: test
What is the name of your State or Province?
[Unknown]: ca
What is the two-letter country code for this unit?
[Unknown]: us
Is CN=localhost, OU=test, O=test, L=test, ST=ca, C=us correct?
[no]: yes
C:\Program Files\jboss-4.0.3SP1\bin>keytool -list -v -keystore "C:\Program Files\jboss-4.0.3SP1\bin"
keytool error: java.lang.Exception: Keystore file exists, but is empty: C:\Program Files\jboss-4.0.3SP1\bin
Try: keytool -list -v -keystore jbosstest.keystore
By the way, keytool is not part of JBoss.