I have SSL set up on an Ubuntu server. This server is running Apache 2 with multiple Virtual Hosts. I've read that you need a single IP for each application running SSL.
My questions are:
- If only one website on the server is using SSL will this still work? One IP for one SSL website, even though the other websites are still running on it (They wouldn't have SSL enabled).
- If so, how can I make the default SSL website point to the content of the website I would like to have SSL?
Sounds like you need to modify the
_default_
vhost for SSL.Essentially it is true that you can only run one SSL site per IP or port. However this ONLamp article shows how you can do it anyway. If you use name-based virtual hosts on SSL you will get certificate warnings from any domain name that doesn't match what is in the certificate. If you're OK with this, then you can just do it, but your users may not like getting security warnings when they access the site so bear that in mind.