From 3a2511d4a18c69515410c30bae88d4bd2292690b Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 21 Apr 2022 20:45:47 +0000 Subject: [PATCH] remove deprecated certbot flag --- docker/tactical-cli | 4 ++-- install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/tactical-cli b/docker/tactical-cli index b810b72f..bb762a21 100644 --- a/docker/tactical-cli +++ b/docker/tactical-cli @@ -133,10 +133,10 @@ function initiate_letsencrypt { ROOT_DOMAIN=$(echo ${API_HOST} | cut -d "." -f2- ) echo "Root domain is ${ROOTDOMAIN}" - sudo certbot certonly --manual -d *.${ROOT_DOMAIN} --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns -m ${EMAIL} --no-eff-email + sudo certbot certonly --manual -d *.${ROOT_DOMAIN} --agree-tos --no-bootstrap --preferred-challenges dns -m ${EMAIL} --no-eff-email while [[ $? -ne 0 ]] do - sudo certbot certonly --manual -d *.${ROOT_DOMAIN} --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns -m ${EMAIL} --no-eff-email + sudo certbot certonly --manual -d *.${ROOT_DOMAIN} --agree-tos --no-bootstrap --preferred-challenges dns -m ${EMAIL} --no-eff-email done CERT_PRIV_FILE=/etc/letsencrypt/live/${ROOT_DOMAIN}/privkey.pem diff --git a/install.sh b/install.sh index a4a9a77a..4ab2f62b 100644 --- a/install.sh +++ b/install.sh @@ -157,10 +157,10 @@ sudo apt install -y certbot openssl print_green 'Getting wildcard cert' -sudo certbot certonly --manual -d *.${rootdomain} --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns -m ${letsemail} --no-eff-email +sudo certbot certonly --manual -d *.${rootdomain} --agree-tos --no-bootstrap --preferred-challenges dns -m ${letsemail} --no-eff-email while [[ $? -ne 0 ]] do -sudo certbot certonly --manual -d *.${rootdomain} --agree-tos --no-bootstrap --manual-public-ip-logging-ok --preferred-challenges dns -m ${letsemail} --no-eff-email +sudo certbot certonly --manual -d *.${rootdomain} --agree-tos --no-bootstrap --preferred-challenges dns -m ${letsemail} --no-eff-email done CERT_PRIV_KEY=/etc/letsencrypt/live/${rootdomain}/privkey.pem