You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Bainbridge <jb...@gmail.com> on 2005/03/24 18:11:52 UTC

Redirect from one SSL port to another

Currently we are running a pilot of Tomcat (alongside Jrun+IIS) where
Tomcat is on port 8443 using https and IIS is on port 443. We are
getting close to moving Tomcat into Production use disabling IIS +
Jrun and are looking at ways to easily redirect users from 8443 to 443
so the users of the pilot don't have to change URL's within email
notifications they have received from the system.

At first I thought setting an additional Connector port for 8443 with
a redirectPort to 443 was a good idea but if you don't add in all the
addtional SSL stuff it won't respons to https requests and if you do
add in the SSL stuff then the redirectPort doesn't get used and it
just sticks to 8443.

Does anyone know of an easy way to do this within Tomcat? I'm thinking
I might have to setup a separate Tomcat instance listening on port
8443 and setup redirects there but then again I could be missing
something obvious.

Cheers,
-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

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


Re: Redirect from one SSL port to another

Posted by Jason Bainbridge <jb...@gmail.com>.
On Thu, 24 Mar 2005 23:54:21 -0500, Parsons Technical Services
<pa...@earthlink.net> wrote:
> Jason,
> 
> To get the port redirect to work requires a constraint on your transport for
> the requested material.
> 
> See:
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html

Thanks, but I've already set that up fine for the port 80 to 443
redirect, I was just trying to see if there was a way to do something
similar to redirect from one https port (8443) to the one on 443 but
it doesn't look like there is a way to do that easily in Tomcat.

Regards,
-- 
Jason Bainbridge
http://kde.org - webmaster@kde.org
Personal Site - http://jasonbainbridge.com

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


Re: Redirect from one SSL port to another

Posted by Parsons Technical Services <pa...@earthlink.net>.
Jason,

To get the port redirect to work requires a constraint on your transport for 
the requested material.

See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html

Doug

----- Original Message ----- 
From: "Parsons Technical Services" <pa...@earthlink.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>; "Jason Bainbridge" 
<jb...@gmail.com>
Sent: Thursday, March 24, 2005 11:40 PM
Subject: Re: Redirect from one SSL port to another


> This might work:
> http://www.boutell.com/rinetd/
>
> Ran across it on Google
>
> Doug
>
>
> ----- Original Message ----- 
> From: "Jason Bainbridge" <jb...@gmail.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Thursday, March 24, 2005 12:11 PM
> Subject: Redirect from one SSL port to another
>
>
>> Currently we are running a pilot of Tomcat (alongside Jrun+IIS) where
>> Tomcat is on port 8443 using https and IIS is on port 443. We are
>> getting close to moving Tomcat into Production use disabling IIS +
>> Jrun and are looking at ways to easily redirect users from 8443 to 443
>> so the users of the pilot don't have to change URL's within email
>> notifications they have received from the system.
>>
>> At first I thought setting an additional Connector port for 8443 with
>> a redirectPort to 443 was a good idea but if you don't add in all the
>> addtional SSL stuff it won't respons to https requests and if you do
>> add in the SSL stuff then the redirectPort doesn't get used and it
>> just sticks to 8443.
>>
>> Does anyone know of an easy way to do this within Tomcat? I'm thinking
>> I might have to setup a separate Tomcat instance listening on port
>> 8443 and setup redirects there but then again I could be missing
>> something obvious.
>>
>> Cheers,
>> -- 
>> Jason Bainbridge
>> http://kde.org - webmaster@kde.org
>> Personal Site - http://jasonbainbridge.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



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


Re: Redirect from one SSL port to another

Posted by Parsons Technical Services <pa...@earthlink.net>.
This might work:
http://www.boutell.com/rinetd/

Ran across it on Google

Doug


----- Original Message ----- 
From: "Jason Bainbridge" <jb...@gmail.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, March 24, 2005 12:11 PM
Subject: Redirect from one SSL port to another


> Currently we are running a pilot of Tomcat (alongside Jrun+IIS) where
> Tomcat is on port 8443 using https and IIS is on port 443. We are
> getting close to moving Tomcat into Production use disabling IIS +
> Jrun and are looking at ways to easily redirect users from 8443 to 443
> so the users of the pilot don't have to change URL's within email
> notifications they have received from the system.
> 
> At first I thought setting an additional Connector port for 8443 with
> a redirectPort to 443 was a good idea but if you don't add in all the
> addtional SSL stuff it won't respons to https requests and if you do
> add in the SSL stuff then the redirectPort doesn't get used and it
> just sticks to 8443.
> 
> Does anyone know of an easy way to do this within Tomcat? I'm thinking
> I might have to setup a separate Tomcat instance listening on port
> 8443 and setup redirects there but then again I could be missing
> something obvious.
> 
> Cheers,
> -- 
> Jason Bainbridge
> http://kde.org - webmaster@kde.org
> Personal Site - http://jasonbainbridge.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
>


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