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
"<VirtualHost _default_:443>" line and ending with "</VirtualHost>".
Then stop and start (not restart) Apache server.
cyber_Folks S.A. – Cookie settings