diff --git a/README.md b/README.md index cf6567a..b341acb 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The configuration file should look like this (without the comments): - You can renew your certificate by running `docker run --rm -it -v /etc/letsencrypt-inwx.json:/etc/letsencrypt-inwx.json -v /etc/letsencrypt:/etc/letsencrypt kegato/letsencrypt-inwx renew` ### With certbot -- You can get certificates from [certbot](https://certbot.eff.org/) by running `sudo certbot certonly -n --agree-tos --server https://acme-v02.api.letsencrypt.org/directory --email --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d ` +- You can get certificates from [certbot](https://certbot.eff.org/) by running `sudo certbot certonly -n --agree-tos --email --preferred-challenges=dns-01 --manual --manual-auth-hook /usr/lib/letsencrypt-inwx/certbot-inwx-auth --manual-cleanup-hook /usr/lib/letsencrypt-inwx/certbot-inwx-cleanup --manual-public-ip-logging-ok -d ` ### Manually - Create a txt record with `letsencrypt-inwx create -c -d _acme-challenge. -v ` diff --git a/etc/docker-entrypoint.sh b/etc/docker-entrypoint.sh index 2a0aea4..053175c 100755 --- a/etc/docker-entrypoint.sh +++ b/etc/docker-entrypoint.sh @@ -21,7 +21,7 @@ EOF fi set -x -certbot -n --agree-tos --server https://acme-v02.api.letsencrypt.org/directory $@ +certbot -n --agree-tos $@ set +x if [ $CONF_CREATED = true ]; then