2 Replies Latest reply on Aug 13, 2004 11:03 AM by Bruno Beloff

    HTTPS Redirection to 8443

    Bruno Beloff Newbie


      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"
       <!-- 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"
       protocol = "TLS"/>

      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!