Let's Encrypt and How To enable it on your Direct Admin server!
Note: If you got your server from GOZEN Host then you only have to ask for this to be enabled to your server by our friendly personnel.
Steps
1) First you need to verify that letsencrypt directive is present on your directadmin.conf file!
Open your /usr/local/directadmin/conf/directadmin.conf file and make sure there's a line like the following: letsencrypt=1
2) Once you have the directive enabled on your server the next step is to restart directadmin (no need to restart the
server) and move to the next step.
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000
3) The well-known alias is a must have also if you want let's encrypt to work properly. So in order for this to work you need the following step:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
4) Now install the latest script available from DirectAdmin and you are good to go!
cd /usr/local/directadmin/custombuild
./build update
./build letsencrypt