-
1. Re: Form Based SSL Redirection
statei Feb 7, 2002 8:01 AM (in response to dfeltham)Hi,
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.
java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
Second create a security domain in jboss by adding the following lines into jboss.jcml
[pre]
.keystore
changeit
[/pre]
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.
[pre]
8443
<!-- 2 -->
java:/jaas/SSL
[/pre]
Hope this will answer your problem
Iulian -
2. Re: Form Based SSL Redirection
seanhowell May 25, 2002 10:33 AM (in response to dfeltham)Anyone tried SSL on 3.0 RC2 ?
Sean