I was reading this long topic of SSL redirection when I ran into this few days ago.
Here are some steps that worked for me and I hope will work for everybody.
First thing add the next line into yours jboss.properties file.
Second create a security domain in jboss by adding the following lines into jboss.jcml
The security domain name is all yours. You don't have to name it "SSL".
KeyStoreURL attribute specifies the keystore file name and you can put the full path to it (in my case is in $JBOSS_HOME/conf/catalina).
KeyStorePass is selfexplanatory.
Now comes the fun part. Because the connector created by jboss (mbean) is not fully implementing the attributes
of Connector specified in server.xml you can not specify the redirectPort attribute. JBoss is building with the
default value of 443, so you need to create the secure connector first on port 8443 (or whatever you like). If
you add SecurityDomain attribute JBoss will build this connector as a secure one. After this you can specify the
Config attribute and create the http connector on port 8080 (or 80 or whatever you like). Let stop the talking
and go to the configuration. Replace the original <mbean ... EmbeddedCatalinaServiceSX .../> with the one below.
<!-- 2 -->
Hope this will answer your problem
Anyone tried SSL on 3.0 RC2 ?