diff --git a/debian/resources/letsencrypt b/debian/resources/letsencrypt new file mode 100644 index 0000000..7a074bc --- /dev/null +++ b/debian/resources/letsencrypt @@ -0,0 +1,22 @@ +# the domain we want to get the cert for; +# technically it's possible to have multiple of this lines, but it only worked +# with one domain for me, another one only got one cert, so I would recommend +# separate config files per domain. +domains = sub.domain_name.com + +# increase key size +rsa-key-size = 2048 # Or 4096 + +# the current closed beta (as of 2015-Nov-07) is using this server +server = https://acme-v01.api.letsencrypt.org/directory + +# this address will receive renewal reminders +email = username@email.com + +# turn off the ncurses UI, we want this to be run as a cronjob +text = True + +# authenticate by placing a file in the webroot (under .well-known/acme-challenge/) +# and then letting LE fetch it +authenticator = webroot +webroot-path = /var/www/letsencrypt/