Knowledgebase: SSL Technical FAQs
Plesk - I receive a wrong certificate when I open any domain via HTTPS

I receive a wrong certificate when I open any domain via HTTPS. I added the certificate under server settings, assigned this certificate to an IP, set default domain for the IP and restarted Apache. But if I open https://domain.tld I still get a localhost.localdomain (or another) default certificate.

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.

(1922 vote(s))
Helpful
Not helpful
Comments (0)