Support Center > Knowledgebase > Plesk > 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.
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:
If it exists you have to delete/comment this default SSL virtual host starting from the
"" line and ending with "".
Then stop and start (not restart!) Apache server.
Also Read