How to install “Let’s Encrypt SSL Certificate” from SSH (Directadmin)

To install Let’s Encrypt from SSH for DirectAdmin domain 1. SSH to the server   2. Edit the DirectAdmin config file by running the following command: vi /usr/local/directadmin/conf/directadmin.conf # Add in “letsencrypt=1” 3. Run the following command vi /etc/httpd/conf/extra/httpd-alias.conf #Add in “Alias /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge” 4. Now run the following commands cd /usr/local/directadmin/custombuild ./build update ./build