You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Ben Snowden <bs...@ColdJet.com> on 2011/02/17 18:39:55 UTC

SNI support?

Does anyone know if ATS supports SNI? I have tried 2 SNI compatible browsers but ATS always redirects a SSL connections to the default server and ignores my map rules. SSL termination is working properly and I have a wildcard certificate for these purposes. If I change the map rules to http instead of https, then everything works great. I'm just trying to keep things simple and would like to only use one public IP address for all servers behind the reverse proxy. We don't have enough public IPs for all the sites we want to put behind the proxy.

Thanks

RE: SNI support?

Posted by Ben Snowden <bs...@ColdJet.com>.
I upgraded to 2.1.5 and still the same error. It only works for the exact url in the map rule. If I change the https to http in the rules below, then I can browse to http://externalserver.domain.com/subfolder and it works fine. With the rules as they are below, then I cannot browse to https://externalserver.domain.com/subfolder. very strange.
From: Leif Hedstrom [mailto:zwoop@apache.org]
Sent: Thursday, February 17, 2011 4:07 PM
To: users@trafficserver.apache.org
Cc: Ben Snowden
Subject: Re: SNI support?

On 02/17/2011 12:35 PM, Ben Snowden wrote:
Sorry I misspoke before. After more testing, it seems that the problem is with the map/reverse_map rules. I am running ATS 2.0.1 on ubuntu 10.04.

SSL termination is working correctly but https map rules only seem to work for the root directory of a site.

Here is an example map/reverse_map rule

map       https://externalserver.domain.com/     http://internalserver.domain.com/
reverse_map     http://internalserver.domain.com/         https://externalserver.domain.com/

if I browse to https://externalserver.domain.com, I am properly redirected to the root site. If I browse to https://externalserver.domain.com/subfolder, then I get a 404 error



Nothing immediately comes to mind, but I'd strongly recommend you try TS v2.1.5. There's been many, many SSL bug-fixes in that release (since v2.0). If that still fails the same, we'll have to investigate.

-- Leif

Re: SNI support?

Posted by Leif Hedstrom <zw...@apache.org>.
On 02/17/2011 12:35 PM, Ben Snowden wrote:
>
> Sorry I misspoke before. After more testing, it seems that the problem 
> is with the map/reverse_map rules. I am running ATS 2.0.1 on ubuntu 10.04.
>
> SSL termination is working correctly but https map rules only seem to 
> work for the root directory of a site.
>
> Here is an example map/reverse_map rule
>
> map https://externalserver.domain.com/ http://internalserver.domain.com/
>
> reverse_map http://internalserver.domain.com/ 
> https://externalserver.domain.com/
>
> if I browse to https://externalserver.domain.com, I am properly 
> redirected to the root site. If I browse to 
> https://externalserver.domain.com/subfolder, then I get a 404 error
>
>


Nothing immediately comes to mind, but I'd strongly recommend you try TS 
v2.1.5. There's been many, many SSL bug-fixes in that release (since 
v2.0). If that still fails the same, we'll have to investigate.

-- Leif


RE: SNI support?

Posted by Ben Snowden <bs...@ColdJet.com>.
Sorry I misspoke before. After more testing, it seems that the problem is with the map/reverse_map rules. I am running ATS 2.0.1 on ubuntu 10.04.

SSL termination is working correctly but https map rules only seem to work for the root directory of a site.

Here is an example map/reverse_map rule

map       https://externalserver.domain.com/     http://internalserver.domain.com/
reverse_map     http://internalserver.domain.com/         https://externalserver.domain.com/

if I browse to https://externalserver.domain.com, I am properly redirected to the root site. If I browse to https://externalserver.domain.com/subfolder, then I get a 404 error

in the error.log, I get:
response sent <host> status 404 (not found on accelerator) for http:///subfolder/<http://subfolder/>

is they any good reason why the map/remap rules would work for the root directory but not the subfolders?

Thanks!