diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-05-17 22:21:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 22:21:03 +0300 |
commit | 80f2ffd571aa9653747db89b53e21a41a0fb9ebe (patch) | |
tree | c1a8fdca88100f312ece28510fccdde7d3343ef1 /lets-encrypt | |
parent | 948b8a025a3ecd9ef10896833fdad9fdd8e257b0 (diff) |
fix bug
Diffstat (limited to 'lets-encrypt')
-rw-r--r-- | lets-encrypt/activate-tls.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lets-encrypt/activate-tls.sh b/lets-encrypt/activate-tls.sh index f7ecdb42..df72f730 100644 --- a/lets-encrypt/activate-tls.sh +++ b/lets-encrypt/activate-tls.sh @@ -220,7 +220,7 @@ if [ -n "$DEDYNDOMAIN" ] then print_text_in_color "$ICyan" "Renewing TLS with DNS, please don't abort the hook, it may take a while..." # Renew with DNS by default - if certbot certonly --manual --text --rsa-key-size 4096 --renew-by-default --server https://acme-v02.api.letsencrypt.org/directory no-eff-email --agree-tos --preferred-challenges dns --manual-auth-hook "$SCRIPTS"/deSEC/hook.sh --manual-cleanup-hook "$SCRIPTS"/deSEC/hook.sh -d "$DEDYNDOMAIN" + if certbot certonly --manual --text --rsa-key-size 4096 --renew-by-default --server https://acme-v02.api.letsencrypt.org/directory --no-eff-email --agree-tos --preferred-challenges dns --manual-auth-hook "$SCRIPTS"/deSEC/hook.sh --manual-cleanup-hook "$SCRIPTS"/deSEC/hook.sh -d "$DEDYNDOMAIN" then # Generate DHparams cipher if [ ! -f "$DHPARAMS_TLS" ] |