by acabal · 13y ago · 0 comments
SNI: http://www.digicert.com/ssl-support/apache-multiple-ssl-cert...
1st site: https://www.firstsite.com:12345/
2nd site: https://www.secondsite.com:24328/
3nd site: https://www.thirdsite.com:37712/
etc.
You can have thousands of HTTPS websites on a single IP address while fully supporting every browser.Normally this isn't a problem, except that some browsers nowadays default to requesting the HTTPS version first. That means if you're serving an HTTP site and an unrelated HTTPS site, and a user accesses the HTTP site via an HTTPS connection, there's a good chance you'll end up serving the unrelated HTTPS site plus an SSL warning instead, because that's how Apache does things.
How is that Apache HTTPD's problem? Nginx would do the same thing. When you don't define a ssl version of site.com for ip:443, you get whatever the default cert/vhost is for that ip:443. What would you have a webserver do differently?
Sure there are other options but I'd rather not have accounts all over the place, and I like Linode.
How about not revert to a "default"? Just serve a redirect to the HTTP version if a HTTPS is not available for that vhost.