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 <
[email protected]> 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 <[email protected]> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>