From b8a63413acd298970451df55e485b3de0338c1c5 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 28 Dec 2025 18:13:39 +0000 Subject: Hardcode prod environment in acme renew script I use letsencrypt's nonprod server when testing renewals - especially when setting up new domains. I used to have two lines in the config file - one for prod and one for nonprod, only one of which would be uncommented at any given time. However, especially since I started running the script via a cron job, there was a risk that I would forget to change it back. The end goal is to control the environment via a flag to the renew-all script. As a first step towards this, hardcode the environment as prod here. --- renew-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renew-all b/renew-all index 045e82f..04e9314 100755 --- a/renew-all +++ b/renew-all @@ -31,7 +31,7 @@ def main() -> None: "--dns", "desec", "--server", - config["acme_server"], + config["acme_server_prod"], "--dns.disable-cp", ] + subdomain_requests -- cgit v1.2.3