Welcome! Log In Create A New Profile

Advanced

Re: SSL Conflict Between Two Virtual Hosts

Igor Sysoev
January 19, 2010 10:10AM
On Tue, Jan 19, 2010 at 09:59:29AM -0500, jasonago wrote:

> Hello again, thanks for the explanations I understand enough.
>
> BUT I discovered that it is still possible to serve two different ssl certs for two different domain with only single IP address.
>
> Traditionally as explained by the previous posts, the setup of vhosts in nginx should be: (I got lazy to post my nginx server directives so I shortcut it to the following)
> domainA + IP-addressA + SSLcertA + port443 and
> domainB + IP-addressB + SSLcertB + port443
>
> And the following will be in conflict as I described in the start topic:
> domainA + IP-addressA + SSLcertA + port443 and
> domainB + IP-addressA + SSLcertB + port443
>
> But I was able to work on the following configuration as a desperate hack to use two different ssl certs with same IP address by listening to two different ports:
> domainA + IP-addressA + SSLcertA + port443 and
> domainB + IP-addressA + SSLcertB + port444
>
> Well, I just need to instruct critical parts of some PHP programs out there to append port 444 on the urls so as not to break urls.
>
> Hehe, I guess its a desperate setup since I'm short of buying either a wildcard ssl OR setup and maintain two cloud server for two domains...

Yes, you may use non-standard port, however, note that there may be client
firewalls/proxies which forbid connections to non-standard ports.


--
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: 236
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