Using SSL on multiple virtual hosts on Apache


From Slashdot 2-24-05 article on "Free SSL Certificate Project":

2. Virtual hosts often share a single IP among many websites. You can't just authorize a name; SSL requires (from my understanding) a unique IP. That would make the IPv4 system even more strained.

This is the case if you want to use the default HTTPS port (443) since the hostname is encrypted. However, you can use your certificate on other ports. Just have your webserver listen to port 4443, and then in your links, just put https://yourhost.com:4443/ and it works great.

When I was running a small webhost business, instead of getting a new IP for each cert, I'd just put them on different ports.

02/23/2005