aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-25 14:17:00 +0800
committercrupest <crupest@outlook.com>2022-11-25 14:17:00 +0800
commit769362bdc5f5b608ca99ebc310f5fe3c33a5264a (patch)
tree97a5ffc538e412bbc3da96dba902d2f7677509aa
parent75ebe116cda3efe5d6847669fa6ec08434fbc416 (diff)
downloadcrupest-769362bdc5f5b608ca99ebc310f5fe3c33a5264a.tar.gz
crupest-769362bdc5f5b608ca99ebc310f5fe3c33a5264a.tar.bz2
crupest-769362bdc5f5b608ca99ebc310f5fe3c33a5264a.zip
Force test renewal.
-rwxr-xr-xdocker/auto-certbot/daemon.bash2
1 files changed, 1 insertions, 1 deletions
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")