Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I have recently purchased an SSL Certificate. The CommonName (CN) of the certificate is and has several AlternativeNames such as, etc.

I have installed this on a server using Apache 2.2.17 and mod_ssl, and all works fine, except I am gettings a warning saying:

[warn] RSA server certificate CommonName (CN) `` does NOT match server name!?

This is because the ServerName is defined as The certificate is still valid, but is there anything I can do to remove the warning? Or can I just ignore it?

share|improve this question
up vote 6 down vote accepted

Ignore it.

It's doing some very basic validity checks, that would hold true if you weren't using alternate names - a client browser's validity checking is much more robust, and as you know, has no problem with the certificate.

If you have more than one VirtualHost on an SSL port, you'll probably see a warning for that, too. Same deal - it's designed to warn you if something's not making sense for a simple, basic config - but you know that it's working like it's supposed to, so you can disregard.

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.