I just added a second SSL site to Nginx uising two different certs. The
problem is that both sites are pulling the one cert. I have each of
them served on 443 and serving their own domains. Just like i would
think port 80 to work with multiple sites but its not. Is there another
port i should use for the second instance say 444 ? and just action that
in rails ? anyone experience similar ?
I just added a second SSL site to Nginx uising two different certs. The
problem is that both sites are pulling the one cert. I have each of them
served on 443 and serving their own domains. Just like i would think port
80 to work with multiple sites but its not. Is there another port i should
use for the second instance say 444 ? and just action that in rails ?
anyone experience similar ?
I think I experienced this at first, and IIRC it was a wildcard name
on one of the domains causing it… removed that and it works now
We bind extra SSL sites to 444,445,etc to avoid these issues. We run
an lvs load balancer in front of them and assign a public IP per SSL
server instance. So external ip #1 443 routes to internal 443 and
external ip #2 443 routes to internal 444. It greatly simplified
things for us but it might not be an option for everyone.
Are you using one ip address for multiple domain/ssl certs? If so, I
believe you may need to assign each cert to a separate ip.
Are you using a separate host names in one domain? You might need a
wild card certificate (*.yourdomain.com). There is a problem in that
nginx needs to see the request URL before deciding which cert to use
in the handshake. However, nginx cannot see the URL until the
handshake has been completed. See http://wiki.apache.org/httpd/NameBasedSSLVHosts for more details.
If you get it working or you have a different setup then send mail to
the list.
Yes I am using one IP with multiple domains/certs
so depending on the server and if i can get another IP
I’m pretty certain Virtual servers can get more IP’s w/o
adding hardware?
“nginx cannot see the URL until the
handshake has been completed”
Are you using one ip address for multiple domain/ssl certs? If so, I
believe you may need to assign each cert to a separate ip.
Are you using a separate host names in one domain? You might need a
wild card certificate (*.yourdomain.com). There is a problem in that
nginx needs to see the request URL before deciding which cert to use
in the handshake. However, nginx cannot see the URL until the
handshake has been completed. See http://wiki.apache.org/httpd/NameBasedSSLVHosts for more details.
If you get it working or you have a different setup then send mail to
the list.
Getting multiple ips for one physically system to multiple virtual
domains should not be a problem. Once you have the ips then have each
Nginx server {…} section listen to a separate ip and define its own
SSL cert.
Getting multiple ips for one physically system to multiple virtual
domains should not be a problem. Once you have the ips then have each
Nginx server {…} section listen to a separate ip and define its own
SSL cert.
As I understand it tlsext is still in “BETA” like stage for 0.9.8g. I
also believe remote clients must be strictly RFC 4366 compliant
otherwise browsers will still get a SSL error page.
As I understand it tlsext is still in “BETA” like stage for 0.9.8g. I
also believe remote clients must be strictly RFC 4366 compliant
otherwise browsers will still get a SSL error page.