Using a wildcard SSL cert allows you to run a number of SSL hosts on a single IP address. They must all be for the same domain however. Eg a.example.com, b.example.com.
There are a few things that need to change in the apache ssl setup:
We need to use NameVirtualHost directive for all IPs that are using the wildcard cert.
NameVirtualHost 1.2.3.1:443 NameVirtualHost 1.2.3.2:443
- Because of the way SSL works, the server cannot select the cert to give to the client at connection time. Apache will just grab the one from the first vhost declared with that IP address. This is ok because all the ones on that IP address will use the wildcard cert anyway.
