I received this response from a similar question on this forum. I wanted to know about getting a SSL Certificate on JoesFood.com and MarysClothes.com that is on the same IP address separated by virtual hosts.
They said it couldn't be done.
"Keep in mind you can only have ONE!! SSL-certificate per IP and Port combination. So if you register the SSl-cert for site1.com you can't host https site2.com on the same server. Virtual hosts don't work the same way in SSL-mode as for normal http mode (the certificate is presented by the server BEFORE the server could check for which virtual host the request should be processed)
> - Should I be getting the certificate for http://mycompaniesserver.com/
or for the domain name that is going to be using it?
get it for mycompaniesserver.com (reason above)
I read in an O'Reilly book that:
"In most common implementations of SSL, you are limited to one SSL host per address and port number. Thus, you either need to have a unique IP address for each SSL host or run them on alternate ports to get more than one on a particular address"
I just talked to a representative from VeriSign about this and he said that SSL has nothing to do with IP at all. He said the Certificate is just about the domain name so if I wanted to transfer one from Host A to Host B , thats fine. If I want to host Mary and Joe on the same IP and use alternate SSL Certificates, thats fine too..
So that totally contradicts what these other two resources said..
Can someone please clear this up for me??