Overview
If you receive a wrong SSL certificate error when you open any domain via HTTPS, this article may help.
Requirements
Before you start, this article has the following dependencies:
- You must have SSH access set up for root or a sudo user.
Instructions
Connect via SSH to your DV.
Look into /etc/httpd/conf.d/ssl.conf for the line like:
<VirtualHost _default_:443>
If it exists, you have to delete/comment out this default SSL virtual host starting from the "<VirtualHost _default_:443>" line and ending with "</VirtualHost>".
Then, stop and start Apache server. Do not restart Apache.
/etc/init.d/httpd stop && /etc/init.d/httpd start