Problem after installing an SSL certificate for my hostname using LetsEncrypt

Eliseth

New member
Joined
Aug 7, 2017
Messages
2
Hi,

I followed the instructions from this article (https://help.directadmin.com/item.php?id=629) to secure my DA control panel using LetsEncrypt.

However, after doing so clients started calling that their e-mail clients were throwing certificate mismatch errors.

They use mail.<domain>.<ext> for their e-mail settings, but previously they had no certificate installed for their own domain name. They used insecure settings, but it's almost as if it now forces the SSL even though none of them changed the settings client side.

The error is thrown on mobile devices and desktops.

I tried reverting this behavior by setting SSL=0 and uncommenting force_hostname and ssl_redirect_host in directadmin.conf and restarting.

Problem persists.

How can I undo these changes and make the behavior go back to how it used to be without clients getting errors.
 
The help file causes this.

Go to /usr/local/directadmin/conf and edit your directadmin.com and set this:
SSL=0
Remove (do not comment!!) the lines:
force_hostname=your.hostname.com
and
ssl_redirect_host=your.hostname.com
set:
letsencrypt=1
enable_ssl_sni=1

Save and restart directadmin. If all is well it should work afterwards.

If it still does not work, just try this to be sure (it won't hurt):
Code:
cd /usr/local/directadmin/scripts/
./rewrite_confs
 
Back
Top