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.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What does the Warranty actually mean?

We believe it is important to protect the end user. If we were to issue a certificate in error to...

Why does the secure part of the website say the name on the security certificate is invalid or does not match the name of the site?

There are a few possible reasons for this:1) The certificate has a Common Name (CN) of...

The CSR cannot be decoded or is invalid

CSR is possibly missing one or more required fields.The CSR must contain a minimum of the...

I have accidentally deleted or lost my Private Key

First check your backups and see if you can re-install the "private key". If you don't know how...

I have changed my server, or moved to a different provider, how do I move the certificate?

If you are moving servers or providers, you will need to get the certificate and private key from...