You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Steve Gaunt <SG...@emeraldinsight.com> on 2006/09/21 13:47:53 UTC

ssl connector redirect does not work

Hello all

 

I am trying to set up SSL working within tomcat(as part of Jboss 4.01).

The installation of SSL is straight forward, but I cannot get http to
automatically redirect to https.  

 

<!-- A HTTP/1.1 Connector on port 8080 -->

      <Connector port="8080" address="${jboss.bind.address}"

         maxThreads="1024" minSpareThreads="64" maxSpareThreads="128"

         enableLookups="false" redirectPort="443" acceptCount="128"

         connectionTimeout="600000" disableUploadTimeout="true"
debug="1"/>

         

            

            

      <!-- A AJP 1.3 Connector on port 8009 -->

    <Connector port="8009" address="${jboss.bind.address}"

             enableLookups="false" redirectPort="443" debug="2"
minProcessors="75" maxProcessors="200"

             acceptCount="1024" connectionTimeout="600000"

             protocol="AJP/1.3"/>

         

      <!-- SSL/TLS Connector configuration using the admin devl guide
keystore -->

      

      <Connector port="443" 

      address="${jboss.bind.address}"

           maxThreads="100" minSpareThreads="5" maxSpareThreads="15"

           scheme="https" secure="true" clientAuth="false"

           keystoreFile="c:\javaCert\emerald.kdb"

           keystorePass="emerald" sslProtocol = "TLS" debug="1"/>

 

I can browse https://locahost/ fine, but ideally I would like
http://localhost:8080/ to redirect to the 433 connector.  This is just a
test, because we use the ajp connector from IIS, and really need the
redirect to work, as you cannot connect through the 433 through the ajp
connector.

 

Any ideas, I've read through all the documentation and cannot understand
why the redirect doesnot work.

 

 

Thanks in advance

 

 

Cheers

 

Steve


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Re: ssl connector redirect does not work

Posted by Mark Thomas <ma...@apache.org>.
Steve Gaunt wrote:
> Hello all
> 
> I am trying to set up SSL working within tomcat(as part of Jboss 4.01).

This question belongs on the users list, not the dev list.


Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org