Hostname provided via SNI and hostname provided via HTTP are different

I do see this error message in my Apache error log
[Fri May 15 00:04:15 2015] Hostname provided via SNI and hostname provided via HTTP are different

and  this error appears frequently as well:
[Fri May 15 06:04:51 2015] [notice] Graceful restart requested, doing restart
[Fri May 15 06:04:52 2015] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri May 15 06:04:52 2015] [warn] RSA server certificate CommonName (CN) `' does NOT match server name!?
[Fri May 15 06:04:52 2015] [notice] Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 configured -- resuming normal operations
what should  i do to correct it?
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.

David Johnson, CD, MVPOwnerCommented:
Error #1
since you are using a self signed cert the following link will help remove
Error #2
Edit the "ServerName" directive in

Open in new window

to be exactly the same as the CommonName (CN) in your Apache certificate /etc/httpd/conf/ssl.crt/server.crt
To display the common name(s) in your certificate
openssl x509 -in server.crt -noout -subject

Open in new window

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
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.