Hi
I'm using JBoss 3.2.3. I'm trying to use HTTPS, and I've got a redirect problem - I want to redirect to port 8443, but the redirect goes to port 443. How do I correct this? My jboss-service.xml file contains:
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port="8080" minProcessors="5" maxProcessors="100"
enableLookups="true" acceptCount="10" debug="0"
connectionTimeout="20000" useURIValidationHack="false"/>
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- SSL/TLS Connector configuration using the SSL domain keystore -->
<Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port = "8443" scheme = "https" secure = "true">
<Factory className = "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
keystoreFile="/usr/local/keystore/server.keystore"
keystorePass="changeit"
protocol = "TLS"/>
</Connector>
With this setting, HTTPS does work on 8443, but redirections from 8080 go to 443, not 8443.
How do I set this right?
Thanks for the help!
Bruno.