!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

105 Members
Another day, another cert renewal44 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@hexa:lossy.networkhexa oh yeah, we do AccuracySecs=14400s 16:59:03
@hexa:lossy.networkhexagood call16:59:04
@emilazy:matrix.orgemily I'm not sure what Type= we have on the ACME services 16:59:08
@hexa:lossy.networkhexaoneshot16:59:18
@emilazy:matrix.orgemilyoneshots are only considered started after they complete, right?16:59:29
@emilazy:matrix.orgemilyso the timer can probably start two of them at once? which would be bad. we should probably not be using oneshot16:59:40
@hexa:lossy.networkhexa

the service manager will consider the unit up after the main process exits

17:00:16
@hexa:lossy.networkhexa *

similar to simple; however, the service manager will consider the unit up after the main process exits

17:00:26
@emilazy:matrix.orgemilyright17:00:34
@emilazy:matrix.orgemilywell I dunno, it's probably safe to specify like 12–24 hours assuming that the timer will not try to run lego again if it's still running from the previous timer run17:00:54
@emilazy:matrix.orgemilyI don't understand oneshot well enough to say whether that's the case17:01:00
@hexa:lossy.networkhexa18h + AccuracySecs17:01:33
@hexa:lossy.networkhexawhich would be between 18 and 22 hours17:01:43
@hexa:lossy.networkhexaor 19-2317:02:01
@emilazy:matrix.orgemilyI think the only risk of a long value is the timer triggering again and starting lego again17:02:08
@emilazy:matrix.orgemilyI just don't know if that's how it actually works17:02:11
@emilazy:matrix.orgemilyI think systemd keeps track of services that are "starting" but not started17:02:19
@emilazy:matrix.orgemilyso it may not try to run lego again if it's blocking from before17:02:27
@hexa:lossy.networkhexa

Note that in case the unit to activate is already active at the time the timer elapses it is not restarted, but simply left running.

https://www.freedesktop.org/software/systemd/man/latest/systemd.timer.html

17:05:02
@emilazy:matrix.orgemilybut oneshots aren't "active" until they finish, right?17:11:56
@emilazy:matrix.orgemilyor maybe they're "active" but not "running"?17:12:05
@hexa:lossy.networkhexa they should be in activating while running iirc 17:19:01
20 Feb 2025
@hexa:lossy.networkhexaok, merged lego 4.22.218:05:34
@hexa:lossy.networkhexaso now we have ari enabled with wait time 018:05:41
@hexa:lossy.networkhexaso at least we'd get immediate cert renewal if within a requested renewal window even if the cert was valid for longer than 30 days18:06:20
@hexa:lossy.networkhexa
   --ari-disable                             Do not use the renewalInfo endpoint (draft-ietf-acme-ari) to check if a certificate should be renewed. (default: false)
18:07:53
@thinkchaos:matrix.orgThinkChaos Did they remove --ari-enable or do they have both now? 😄 18:08:48
@emilazy:matrix.orgemilyis 0 "no wait" or "indefinite"?20:31:12
@hexa:lossy.networkhexano wait aiui20:55:07
@hexa:lossy.networkhexayes, ari is default on now and you can disable it20:55:20

Show newer messages


Back to Room ListRoom Version: 6