Automatically setup LetsEncrypt SSL for *all* domains that do not currently have a certificate in directadmin

The new LetsEncrypt feature is a great way to easily secure your website connections at no cost.  If you already have many website that you want to secure all at once, you can use the autoletsencrypt.sh script to do this.

  1. Make sure you’ve already enabled LetsEncrypt on the system:
  2. Then you can install certificate for all domains:cd /root
    wget -O autoletsencrypt.sh http://files.directadmin.com/services/all/letsencrypt/autoletsencrypt.sh
    chmod 755 autoletsencrypt.sh
    ./autoletsencrypt.sh

Note that if you have too many domains, you might hit the LetsEncrypt Rate-Limit so if that happens, you should be able to wait until the time window has passed, run it again, which should continue where it left off.

 3,121 total views,  3 views today

Comments

So empty here ... leave a comment!

Leave a Reply

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

Sidebar