12 lines
386 B
Bash
12 lines
386 B
Bash
|
#!/bin/sh
|
||
|
certbot certonly \
|
||
|
--non-interactive \
|
||
|
--agree-tos \
|
||
|
--email {{ letsencrypt.email }} \
|
||
|
--deploy-hook '/opt/certbot/certbot-deploy.sh' \
|
||
|
--dns-digitalocean \
|
||
|
--dns-digitalocean-credentials /opt/certbot/certbot-creds.ini \
|
||
|
--dns-digitalocean-propagation-seconds 30 \
|
||
|
{% for domain in letsencrypt.domains %}-d '{{ domain }}' {% endfor %} \
|
||
|
$@
|