Skip to content

Commit 4d54843

Browse files
committed
docs(dstack-ingress): warn that RENEW_DAYS_BEFORE keeps the cert permanently due
1 parent d47e91a commit 4d54843

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

custom-domain/dstack-ingress/TESTING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ openssl s_client -connect <domain>:443 -servername <domain> </dev/null 2>/dev/nu
148148
```
149149

150150
Shorten `RENEW_INTERVAL` (default 43200s) if you want the loop to come round
151-
again without restarting.
151+
again without restarting — but note that `RENEW_DAYS_BEFORE=365` makes the
152+
certificate *permanently* due, so every pass renews. Combined with a short
153+
interval that is a loop issuing certificates as fast as the CA will allow. Set
154+
one or the other, unset it once you have seen the branch you came for, and never
155+
carry it into production.
152156

153157
Do not assert on the ACME client's log wording. lego 4.x wrote `no renewal` and
154158
5.x writes `Skip renewal`; certbot's phrasing has moved too. The container uses

0 commit comments

Comments
 (0)