This topic has not yet been written. The content below is from the topic description.
15.2.1.1. Generate a key pair The keytool command, part of the JDK, is used to generate a new key pair. Keytool can either add the new key pair to an existing key store, or create a new key store at the same time as the key pair. This key pair will be used to negotiate SSL encryption between the server and remote clients. The following procedure generates a key pair and stores it in a key store called localhost.keystore . You will need to make this key store available to the EJB3 invoker on the server. The key pair in our example will be saved in the key store under the alias 'ejb-ssl'. We will need this key alias, and the key pair password you supply (if any), when configuring the EJB3 Remoting connector in Create a secure remoting connector for RMI . Procedure 15.1. Generate a new key pair and add it to the key store "localhost.keystore" in the JBoss server conf directory. This procedure generates a new key pair for SSL encryption. The following command will create a key pair for use with SSL encryption: keytool -genkey -alias ejb-ssl -keystore localhost.keystore -storepass KEYSTORE_PASSWORD -keypass EJB-SSL_KEYPAIR_PASSWORD -dname "CN=SERVER_NAME,OU=QE,O=example.com,L=Brno,C=CZ" Result: A key pair will be added to the key store localhost.keystore under the alias ejb-ssl .