Plesk 9.x – SSL Error , certificate is for localhost.localdomain

When you install a certificate in a Plesk 9.x version you and try to check if ti works in the browser you might get a strange problem , the appearing SSL in the browser would be issued for localhost.localdomain (the default certificate that comes with the OS for example CentOS).an useful solution is the following:

Look into /etc/httpd/conf.d/ssl.conf for the line like:

<VirtualHost _default_:443>

If it exists you have to delete/comment this default SSL virtual host starting from the
“<VirtualHost _default_:443>” line and ending with “</VirtualHost>”.

Then stop and start (not restart) Apache server.

Original article by Comodo.com