Perform the below steps to enable HTTPS support in JBOSS :
1. Execute the following command to generate encryption key for HTTPS.
/usr/java/jdk1.5.0_14/bin/keytool -genkey -keyalg RSA -keystorejboss.keystore -validity 3650
2. The command will ask you some information like, name company, country etc. Provide the information, keystore password and key password for mykey. The command will create a file with name jboss.keystore in your current working directory.
3. Copy the keystore file to $JBOSS_HOME/server/all/conf/ folder.
4. Edit the $JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml file and uncomment the SSL/TLS Connector section. Also update the keystore file location and keystore password in the server.xml file as shown below.
maxThreads="150" scheme="https" secure="true"clientAuth="false"keystoreFile="${jboss.server.home.dir}/conf/jboss.keystore"keystorePass="server" sslProtocol = "TLS" />
5. Restart JBOSS.