tutorial vps directadmin Installing an SSL certificate for your hostname using LetsEncrypt

tutorial vps directadmin Installing an SSL certificate for your hostname using LetsEncrypt, if you need enable SSL for your hostname, you can use this :

which will also install the new cert/key/ca files in all respective global places for apache, dovecot, exim, ftp, and DirectAdmin.


The hostname value, eg: your.hostname.com must match the “servername” value set in the directadmin.conf, or it will not be in hostname mode, but User domain mode instead.

You must then turn on SSL in DA and tell DA to use the carootcert, as well as force the hostname for SSL:

To fully enable the LetsEncrypt feature so that DA will auto-renew the cert, and so clients can create their own certficates for their domain, also add:

letsencrypt=1

You can also manually edit the file /usr/local/directadmin/conf/directadmin.conf and add the following value:

to the directadmin.conf, and restart DA.

Leave a Reply

Your email address will not be published. Required fields are marked *