ssl error: RSA server certificate CommonName does not match

I've just transferred from another shared host account (godaddy). I paid for a ssl certificate there so I made a key and made a certificate and installed here. Edited my virtualhost file to turn on the SSLEngine and use that certificate. All seems fine. Except I keep getting this warning:

RSA server certificate CommonName (CN) `www.(mydomain).com' does NOT match server name.

I checked the certificate, the CN is www.(mydomain).com.

At first, I thought maybe I'm missing the 'www' in the ServerName in my virtualhost file, (I was using just the mydomain.com at first, and set ServerAlias to www.mydomain.com), so I changed the "ServerName" entry in the virtualhost file to also add "www" in the front.

But the warning is still there. Why?

For reference, I'm using ubuntu 10.04 + LAMP stack, basically just followed the documentations here…

1 Reply

It would be useful if you provided your real domain so we can see the certificate.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct