Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a wildcard SSL cert for, sites running have SSL setup and working. We recently got the .com domain and we are considering purchasing another wildcard SSL cert for the .com

I know that there are issues with virutal hosts and multiple SSL site however is it possible to have two SSL certs inside the same VirtualHost? So if someone goes to or they get a cert for both and no warning?

share|improve this question
up vote 1 down vote accepted

No. Apache can only associate 1 SSL certificate with any given IP/port combination.

This is because the SSL negotiation occurs first, and only once the security has been established does HTTP start flowing. The name of the requested site is part of the HTTP requests. In other words, when the client connects to port 443 on, Apache must give it the relevant SSL certificate without knowing what site it wants.

There is an extension called Server Name Indication which allows for SSL/TLS clients to provide include the name in the initial SSL/TLS handshake, but SNI has not seen significant adoption, its biggest drawback at the moment being the complete lack of support for it on any version of IE running on Windows XP.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.