summaryrefslogtreecommitdiff
path: root/renew-all
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2025-12-28 18:13:39 +0000
committerMatthew Fennell <matthew@fennell.dev>2025-12-29 01:45:51 +0000
commitb8a63413acd298970451df55e485b3de0338c1c5 (patch)
treed770f9411633309ddc21083e3d747b02884da633 /renew-all
parenta6a5f96bcfd6a2598bcee6e250ebf0ffd650c5ef (diff)
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.
Diffstat (limited to 'renew-all')
-rwxr-xr-xrenew-all2
1 files changed, 1 insertions, 1 deletions
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