tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adria Stembridge <adrya.stembri...@gmail.com>
Subject Re: New to Tomcat -- SSL
Date Fri, 11 Dec 2009 19:48:54 GMT
I've updated the connector as follows:

    <Connector
        port="8080"
        redirectPort="8443"
        minSpareThreads="25"
        connectionTimeout="20000"
        maxSpareThreads="75"
        maxThreads="150">
    </Connector>
    <Connector
        port="443"
        scheme="https"
        secure="true"
        keystoreFile="/my/secret/keystore"
        keystorePass="mysecretpassword"
        SSLEnabled="true"
        sslProtocol="TLS"
        maxSpareThreads="75"
        maxThreads="150"
        minSpareThreads="25"
        clientAuth="false">
    </Connector>

And restarted Tomcat5.  (I am running Tomcat 5.5 btw).   Requesting the url
https://mydomain.org returns the apache www page, not the tomcat default
page.   If I access with https://mydomain.org:8443, I get the tomcat page.
No pages will be served with apache www, so I want the tomcat pages to
appear over port 80 and 443.

Ports 80, 8080, 443 and 8443 are allowed through the firewall.

What else am I missing?

a

On Fri, Dec 11, 2009 at 2:42 PM, Adria Stembridge <
adrya.stembridge@gmail.com> wrote:

> Should the port redirects for Connector 8080 and 8009 also be changed to
> 443?
>
> a
>
> On Fri, Dec 11, 2009 at 6:59 AM, Pid <pid@pidster.com> wrote:
>
>> On 11/12/2009 11:47, Adria Stembridge wrote:
>>
>>> I'm setting up a standalone instance of Tomcat with SSL.   Tomcat5 is
>>> installed on the RHEL5 box and the sample pages load fine.   I created a
>>> csr
>>> using keytool and requested a certificate from Verisign.   After this is
>>> imported (I'm waiting on delivery from verisign), how would I configure
>>> Tomcat to route traffic from http://domain.com:8443 to
>>> https://domain.com?
>>> Thank you.
>>>
>>>
>> Tomcat 5.5 or Tomcat 5.0?  The latter is no longer supported.
>>
>> Change the port of the Connector from 8443 to 443, assuming you have root
>> rights (required to configure a port below 1024).
>>
>>
>>
>> p
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message