Add Certbot installation steps

This commit is contained in:
Miraty 2023-05-02 22:13:04 +02:00
parent 9c20c005f4
commit 0a9300681b
2 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,8 @@ non-interactive
agree-tos
no-eff-email
email = "niver+letsencrypt@antopie.org"
; Set your email address
email = "address@invalid"
webroot
webroot-path = "/srv/servnest/acme"

View file

@ -1,3 +1,8 @@
mkdir /srv/servnest/acme
chown $nginx: /srv/servnest/acme
chmod u=rX,g=,o= /srv/servnest/acme
cp /install/certbot.ini /etc/letsencrypt/cli.ini
cp /install/certbot-deploy-hook.sh /root/certbot-deploy-hook.sh
chmod +x /root/certbot-deploy-hook.sh