RSA server certificate CommonName (CN) `' does NOT match server name!?


I have a vps account with a2hosting and I'm getting this error:
 RSA server certificate CommonName (CN) `' does NOT match server name!?

I believe from other posts here on EE that I need to set my site's virtual host definition to match the certificate's CN

I have tried but I'm not change the right files or something.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What is the name of your site?
Look at the certificate and it will tell you the name associated with the certificate, are you accessing the same name:
You have not posted a url so it is hard to say what you should correct.

What are you doing/using when you get the certificate mismatch notice?
waffeAuthor Commented:
The site name is

This error is in the Apache error logs and it shows up each time I restart Apache, I believe this error is causes my curl_exec() to error, and thats why I am trying to resolve it.

How do I look at the sites certificate?
depending on your apache config, the error should include the file possibly ssl.conf
If you need SSL access to your site, you need to purchase a matching certificate for your domain and then have the SSL cert.key, cert.crt reflect your domain's certificate.
Disabling the SSL feature within your httpd.conf conf.d/ apache site config will resolve this error.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
waffeAuthor Commented:
Ok, disabling ssl removed the error, thanks!

It did not however solve my curl_exec problem. Back to the beginning!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.