Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10229

For Standalone by default the redirect port on the http connector is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.6-dr1, 2.6.0, 2.6.1, 2.6.2, 2.7
    • None
    • Confluence Standalone.

      By default when you install confluence standalone, the server xml has the below.

      <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8444" acceptCount="10" debug="0" 
      connectionTimeout="20000" useURIValidationHack="false" URIEncoding="UTF-8"/>
      ....
      ....
      <!-- <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" 
      scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystorePass="rbswiki" keystoreFile="%JAVA_HOME%\bin" URIEncoding="UTF-8"/> -->
      

      However, if a customer was to uncomment the connector for SSL, and setup their web.xml so that HTTP redirects to HTTPS (like the steps outline in Adding SSL for Secure Logins), it would fail as HTTP would redirect to port 8444 rather than 8443.

      Either the redirect port needs to be changed to 8443 or the port of SSL connections needs to be changed to 8444.

              pkamal Partha
              pkamal Partha
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: