-
install GIT, for Debian/Ubuntu
apt-get install -y git
and for Centosyum install -y git
-
Clone letsencrypt command from the repository:
git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt
-
Run the automatic certificate generation command:
./letsencrypt-auto --server https://acme-v01.api.letsencrypt.org/directory certonly --agree-tos --email '[YOUR_EMAIL]' --webroot --webroot-path '/var/www/html' -d [DIRECTADMIN_DOMAIN]
-
Edit /usr/local/directadmin/conf/directadmin.conf, and set/change as follow:
SSL=1 cacert=/etc/letsencrypt/live/[SERVER_HOST]/fullchain.pem cakey=/etc/letsencrypt/live/[SERVER_HOST]/privkey.pem
Last active
January 22, 2016 06:46
-
-
Save abegodong/906a679a154061df32fa to your computer and use it in GitHub Desktop.
Install SSL Certificate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment