Let’s Encrypt is a free, automated, and open Certificate Authority.
Installatie
Enable LetsEncrypt
# vi /usr/local/directadmin/conf/directadmin.conf
Search for the string
letsencrypt=0
and replace it with
letsencrypt=1 letsencrypt_renewal_days=60
, the 1 representing the enabled state. Save the file.
Restarting DirectAdmin
service directadmin restart
It’s also a good idea to ensure you’ve got the most recent script:
cd /usr/local/directadmin/custombuild ./build update ./build letsencrypt
Add the /.well-known Alias
cd /usr/local/directadmin/custombuild ./build rewrite_confs
Automatically setup LetsEncrypt SSL for all domains that do not currently have a certificate
cd /root wget -O autoletsencrypt.sh http://files1.directadmin.com/services/all/letsencrypt/autoletsencrypt.sh chmod 755 autoletsencrypt.sh ./autoletsencrypt.sh
Configureren van LetsEncrypt
Users should then be able to see the LetsEncrypt option in their ‘Enhanced’ skin via: User Level -> SSL Certificates
I want a multi-domain certificate for my hostname/mailserver using LetsEncrypt
cd /usr/local/directadmin/scripts ./letsencrypt.sh request `hostname`,mail.domain.com,smtp.domain.com,www.domain.com,domain.com 4096
Links
- Zie ook: LetsEncrypt website
- Zie ook: DirectAdmin How to enable LetsEncrypt
- Zie ook: DirectAdmin Automatically setup LetsEncrypt SSL for *all* domains that do not currently have a certificate
- Zie ook: I want a multi-domain certificate for my hostname/mailserver using LetsEncrypt
- Zie ook: Enabling SNI on DirectAdmin