From 7e55ec793a42db3c91f606b662a9ba6c7c561eed Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 25 Nov 2022 14:17:00 +0800 Subject: Force test renewal. --- docker/auto-certbot/daemon.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/auto-certbot/daemon.bash b/docker/auto-certbot/daemon.bash index fcdd92f..bc60ca4 100755 --- a/docker/auto-certbot/daemon.bash +++ b/docker/auto-certbot/daemon.bash @@ -58,7 +58,7 @@ if [ -n "$CRUPEST_AUTO_CERTBOT_POST_HOOK" ]; then fi # Use test server to test. -certbot certonly -n --agree-tos --test-cert --dry-run -m "$CRUPEST_EMAIL" --webroot -w /var/www/certbot "${options[@]}" +certbot certonly -n --agree-tos --force-renewal --test-cert --dry-run -m "$CRUPEST_EMAIL" --webroot -w /var/www/certbot "${options[@]}" function check_and_renew_cert { expire_info=$(openssl x509 -enddate -noout -in "$CRUPEST_CERT_PATH") -- cgit v1.2.3