How to enable Let's Encrypt SSL in DirectAdmin

LetsEncrypt is a free SSL tool that lets you install a very basic free SSL Certificate with 1 click.  It supports multiple domains and sub-domains and will auto-renew automatically before it expires after it's ~90-day lifespan.

To enable this feature in DirectAdmin, ensure you have DirectAdmin 1.50.1 or newer.

  1. If you're running CentOS 6 or newer, it's recommended to set DA to allow SNI. This will keep the setup simpler, especially when setting up SSL under an Admin account on the server IP (so it's not installed globally)
  2. Enable the letsencrypt=1 option in the directadmin.conf
  3. Restart DirectAdmin:

    echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000
  4. Add the /.well-known Alias:

    cd /usr/local/directadmin/custombuild
    ./build rewrite_confs
  5. Install the most recent version of the script:

    cd /usr/local/directadmin/custombuild
    ./build update
    ./build letsencrypt

    Users should then be able to see the LetsEncrypt option in their 'Enhanced' skin via:

User Level -> SSL Certificates

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to reinstall DirectAdmin in your web server?

Run the following commands to install: cd /usr/local/directadmin./directadmin i./directadmin p

How to install imagick with custombuild of DA?

Run the following command: cd /usr/local/directadmin/custombuild ./build update ./build...

The service ‘exim’ on server xxx is currently down

Rebuild your exim. cd /usr/local/directadmin/custombuild./build update./build set exim...

Change DA port to your choice where CSF installed

Here I will show you how to change the port from 2222 to 9999 in two steps. Step One:...

How to migrate cPanel account to DirectAdmin?

The cPanel conversion script currently only works for Admin Level restores. You must have to be...