Saturday, November 29, 2014

Apache: Multiple Virtual Hosts w/ SSL Certificates?



I have an Ubuntu 11.04 Server with multiple Virtual Hosts running on a shared IP. Is it possible to have two (different) SSL certificates for each site?



I remember hearing something about you only being able have one SSL certificate per IP.


Answer



You can host multiple SSL based sites. You have to use SNI, and not all browsers support SNI, so you can have issues with an older web browser. Most modern browsers should support it. It's described in RFC-6066




This HOW-TO can walk you though how to do it.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...