Welcome! Log In Create A New Profile

Advanced

Re: SSL Conflict Between Two Virtual Hosts

Igor Sysoev
January 18, 2010 01:18PM
On Mon, Jan 18, 2010 at 01:01:47PM -0500, jasonago wrote:

> Hello NGINX community!
>
> I am setting up multiple website in one server. Obviously I created different server directives for each domain that I want to serve.
>
> I set domainA to listen to 443 for ssl as well as domainB. BOTH of them listens to port 80 and port 443 BUT they serve different ssl certificates.
>
> The problem comes when I access domainB on ssl connection because domainB is sending domainA's ssl certificate! I already double checked this to see if the two domain really has different ssl certs and it is really is different.
>
> >From what I understand nginx should be able to serve different ssl certs and connection to multiple domains even if they all listen to the same port 443.
>
> Is this a bug or nginx is intended to work this way? Is it imperative that only one domain listens to port 443 or nginx is intended to serve multiple domain in port 443 with different certs? I hope the solution to this problem is not to create a single cert for all the virtual host via Subject Alternate Name in the cert signing request...

http://nginx.org/en/docs/http/configuring_https_servers.html#name_based_https_servers


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

SSL Conflict Between Two Virtual Hosts

jasonago January 18, 2010 01:01PM

Re: SSL Conflict Between Two Virtual Hosts

Igor Sysoev January 18, 2010 01:18PM

Re: SSL Conflict Between Two Virtual Hosts

Andreas Schneider January 18, 2010 04:30PM

Re: SSL Conflict Between Two Virtual Hosts

jasonago January 19, 2010 09:59AM

Re: SSL Conflict Between Two Virtual Hosts

Igor Sysoev January 19, 2010 10:10AM

Re: SSL Conflict Between Two Virtual Hosts

Andreas Schneider January 19, 2010 10:12AM

Re: SSL Conflict Between Two Virtual Hosts

vesperto January 19, 2010 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 133
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