Support / KnowledgeBase

 
Search the KnowledgeBase Search

Why do I receive a wrong certificate error via HTTPS?

  • Applies to: All (dv)

  • Difficulty: Medium

  • Time needed: 10 minutes

  • Tools needed: SSH, root access, vi knowledge

 
  • Applies to: All (dv)
    • Difficulty: Easy
    • Time Needed: 10
    • Tools Required: SSH, root access, vi knowledge

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:

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

Resources


User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue