Welcome! Log In Create A New Profile

Advanced

Re: Issue with VirtualHost definition order and SNI SSL

October 19, 2009 06:14AM
On Fri, Oct 09, 2009 at 05:44:07PM -0700, Linmiao Xu wrote:

> Yes, should be built with SNI support (--with-http_ssl_module and
> --with-openssl=/usr/src/openssl-0.9.8k). I used 0.7.62 and 0.8.19 and both
> gave me the same result. I compiled both with OpenSSL 0.9.8k, which has SNI.
> Before, when I used 0.9.8e (latest version in CentOS 5.3), every virtual
> host would use the same certificate (no SNI). Browser is Firefox 3.5.3 which
> also supports SNI.

As far as I know OpenSSL-0.9.8 is not built with SNI by default, you need to
add

--with-openssl=/usr/src/openssl-0.9.8k --with-openssl-opt="enable-tlsext"

What does "strings nginx | grep SSL_get_servername" show ?

> The strange part is how it looks like SNI is enabled if I include the TLD
> virtual host first, but isn't enabled if the alias is included first. Do you
> need more information?


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

Issue with VirtualHost definition order and SNI SSL

Linmiao Xu October 09, 2009 02:28PM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 09, 2009 03:18PM

Re: Issue with VirtualHost definition order and SNI SSL

Linmiao Xu October 09, 2009 08:50PM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 19, 2009 06:14AM

Re: Issue with VirtualHost definition order and SNI SSL

ianchov October 22, 2009 09:30AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 27, 2009 01:54AM

Re: Issue with VirtualHost definition order and SNI SSL

ianchov October 27, 2009 02:26AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 27, 2009 03:28AM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 27, 2009 07:00AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 27, 2009 12:30PM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 27, 2009 01:50PM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 27, 2009 03:48PM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 28, 2009 03:36AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 28, 2009 04:30AM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 28, 2009 06:10PM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 29, 2009 03:02AM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 29, 2009 03:40AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 29, 2009 04:14AM

Re: Issue with VirtualHost definition order and SNI SSL

Iantcho Vassilev October 29, 2009 04:38AM

Re: Issue with VirtualHost definition order and SNI SSL

Igor Sysoev October 29, 2009 04:48AM

Re: Issue with VirtualHost definition order and SNI SSL

ianchov October 27, 2009 02:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready