diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2025-12-28 18:13:39 +0000 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2025-12-29 01:45:51 +0000 |
| commit | b8a63413acd298970451df55e485b3de0338c1c5 (patch) | |
| tree | d770f9411633309ddc21083e3d747b02884da633 /renew-all | |
| parent | a6a5f96bcfd6a2598bcee6e250ebf0ffd650c5ef (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-x | renew-all | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ def main() -> None: "--dns", "desec", "--server", - config["acme_server"], + config["acme_server_prod"], "--dns.disable-cp", ] + subdomain_requests |
