Archive for the tag 'https'

Wrong certificate error when I open any domain via HTTPS.

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.

/etc/init.d/httpd stop && /etc/init.d/httpd start

Reference : http://parallels.com

Specify the redirect host value when http is used on an https protocol

If you’ve enabled SSL=1 and the User enters http, then DA will give them the server IP redirect by default. This option will allow the admin to specify the value of the hostname in the redirect, which has an added benefit of forcing them to use the host that matches the certificate to valid ssl errors.

The directadmin.conf option will be:

ssl_redirect_host=host.name.com

The default setting is for the value to not be present in the directadmin.conf.

When it’s not present, the server IP will be used. With the option present, it’s value will be used (even it’s it’s blank) so make sure it only there if you want to use it.

Source: http://www.directadmin.com/