Our JBoss server at work decided one day that it would quit. Upon restarting it, it wanted a keystore for the ssl connection. Never before did we have the keystore in place. The solution was to create a keystore to make it happy.
Here is the example Chapter 8 command to do this:
keytool -genkey -keystore chap8.keystore -storepass rmi+ssl -keypass rmi+ssl -keyalg RSA -alias chapter8 -validity 3650 -dname “cn=chapter8 example,ou=admin book,dc=jboss,dc=org”