0 Replies Latest reply on Oct 22, 2007 6:08 PM by freemarmoset

    Can't Change SSL Port

    freemarmoset

      Interesting problem trying to change the SSL port.
      Default ports (8080 and 8443) work fine together.
      Standartd ports (80 and 443) work fine together.
      I can't change the ssl port without changing the non-ssl port (i.e. 8080 always re-directs to 8443)

      Works Fine....

      <Connector port="8080" address="${jboss.bind.address}"
      maxThreads="250" maxHttpHeaderSize="8192"
      emptySessionPath="true" protocol="HTTP/1.1"
      enableLookups="false" redirectPort="8443" acceptCount="100"
      connectionTimeout="20000" disableUploadTimeout="true" />

      <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
      maxThreads="150" scheme="https" secure="true"
      clientAuth="false"
      keystoreFile="${jboss.server.home.dir}/conf/.keystore"
      keystorePass="password"
      sslProtocol="TLS" />

      Works Fine

      <Connector port="80" address="${jboss.bind.address}"
      maxThreads="250" maxHttpHeaderSize="8192"
      emptySessionPath="true" protocol="HTTP/1.1"
      enableLookups="false" redirectPort="443" acceptCount="100"
      connectionTimeout="20000" disableUploadTimeout="true" />

      <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
      maxThreads="150" scheme="https" secure="true"
      clientAuth="false"
      keystoreFile="${jboss.server.home.dir}/conf/.keystore"
      keystorePass="password"
      sslProtocol="TLS" />

      Doesn't work (still forwards secure requests to 8443 but there's nothing listening on that port, so request fails)

      <Connector port="8080" address="${jboss.bind.address}"
      maxThreads="250" maxHttpHeaderSize="8192"
      emptySessionPath="true" protocol="HTTP/1.1"
      enableLookups="false" redirectPort="443" acceptCount="100"
      connectionTimeout="20000" disableUploadTimeout="true" />

      <Connector port="443" protocol="HTTP/1.1" SSLEnabled="true"
      maxThreads="150" scheme="https" secure="true"
      clientAuth="false"
      keystoreFile="${jboss.server.home.dir}/conf/.keystore"
      keystorePass="password"
      sslProtocol="TLS" />


      Anyone have any ideas on this?