View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821369#3821369

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821369

I try to activate SSL on 3.2.3 but I think that on 3.2.2 it's possible in the same way:

1) create a keystore that hold a certificate for the server:

%JAVA_HOME%\bin\keytool -genkey -alias j2ee -keyalg RSA -keystore {keypath}\server.jks

The passwords must be the same for the keystore and the key.

2) edit jbossweb.sar/META-INF/jboss-service.xml and uncomment or add the connector:

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"

           port="8443" enableLookups="true"

           scheme="https" secure="true" debug="0"

           useURIValidationHack="false" disableUploadTimeout="true">

  <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"

           keystoreFile="{keypath}\server.jks" keystorePass="{password}"

           clientAuth="false" protocol="TLS"/>



3) add the attribute redirectPort="8443" to the connector that handle the 8080 port 
for automatic redirect from 8080 to 8443 on protected pages.



I hope this is useful...

Gio


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to