Welcome! Log In Create A New Profile

Advanced

Re: how do I run multiple https web sites on a single IP address

January 03, 2018 02:23PM
>Are you sure that a tool you're using to check supports SNI?

>wbr, Valentin V. Bartenev

What tool you're talking about? this error show in browser.

>Do you have four separate ssl certificate files, each of which is valid
>for a single server name?

>Or do you have one ssl certificate file which is valid for multiple
server names?

I'm not sure why you mean but i have two cert files. Each cert have a valid common name to use non www and www

>One guess - is there any chance that the contents of the ssl_certificate
f>ile that applies in the domain2.com server{} block is actually the
>domain.com certificate? (Probably not, because the IPv6 connection should
>be using the same ssl_certificate, and no error was reported there.)

domain2.com is just a block only do redirect that all. Is what i put in initial thread.

server {
listen 443 ssl http2;
listen [::3]:443 ssl http2;
server_name domain2.com;
return 301 https://www.$server_name$request_uri;
}

This is the full config of this block.

>Or, to rule out any strange IPv4/IPv6 interaction -- do you see the same
>behaviour when you remove all of the IPv6 config?

Same problem with or without IPv6.

I just notice when i disable IPv6 and only access via IPv4 do something wierd.

When i visit https://domain2.com i got the same error (domain.com certificate) and chrome or whatever browser say me if i want to continue and when i click to continue redirect me to www.domain2.com (is what i want to do and work with domain.com and domain2.com with IPv6). I'm not sure why first check domain.com and then use domain2.com server block.
Subject Author Posted

Multiple https website with IPv6

Kurogane January 02, 2018 01:40AM

Re: Multiple https website with IPv6

Francis Daly January 02, 2018 06:04AM

Re: how do I run multiple https web sites on a single IP address

Kurogane January 02, 2018 11:27AM

Re: how do I run multiple https web sites on a single IP address

Valentin V. Bartenev January 02, 2018 11:36AM

Re: how do I run multiple https web sites on a single IP address

Francis Daly January 02, 2018 05:56PM

Re: how do I run multiple https web sites on a single IP address

Kurogane January 03, 2018 02:23PM

Re: how do I run multiple https web sites on a single IP address

Francis Daly January 03, 2018 05:40PM

Re: how do I run multiple https web sites on a single IP address

Kurogane January 04, 2018 07:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready