!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

102 Members
Another day, another cert renewal41 Servers

Load older messages


SenderMessageTime
19 Feb 2025
@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
21 Feb 2025
@emilazy:matrix.orgemily

You’ll also want to be sure your ACME client is running frequently - both for the sake of renewing short-lived certificates and so as to take advantage of ACME Renewal Information (ARI). ARI allows Let’s Encrypt to notify your client if it should renew early for some reason. ARI checks should happen at least once per day, and short-lived certificates should be renewed every two to three days, so we recommend having your client run at least once per day.

16:04:44
@emilazy:matrix.orgemilywonder if we should consider moving to 2×/day16:04:52
@emilazy:matrix.orgemily(https://letsencrypt.org/2025/02/20/first-short-lived-cert-issued/)16:04:57
22 Feb 2025
@m1cr0man:m1cr0man.comm1cr0manI mean we only ever had it > 1 day for LE's sake (DDOS) 😅 I don't see why we couldn't do 2x/day. Sorry just catching up on this all now. Was on holidays.00:26:31
@hexa:lossy.networkhexaideally we could configure the intervals relative to the total certificate lifetime14:50:52
@hexa:lossy.networkhexa* ideally we could configure the intervals relative to the total certificate lifetime provided by the profile14:51:01
@hexa:lossy.networkhexabut in the end it probably doesn't matter too much14:51:41
@hexa:lossy.networkhexaI still worry a bit about shortlived certs and CT logs14:52:13
@hexa:lossy.networkhexahttps://groups.google.com/a/mozilla.org/g/dev-security-policy/c/_335unOyteQ14:52:38
@arianvp:matrix.orgArianAs in. CT log performance?14:52:44
@hexa:lossy.networkhexa* I still worry a bit about shortlived certs and the impact on CT logs14:52:46
@hexa:lossy.networkhexayeah, they are these very big and slow platforms already14:52:54
@hexa:lossy.networkhexaand now we effectively allow people to recreate their certificates 15 times as much14:53:19
@hexa:lossy.networkhexa* and now we effectively allow people to recreate their certificates 15 times as often14:53:22
@emilazy:matrix.orgemilythe sunlight effort is making ct scale much better14:54:48
@emilazy:matrix.orgemilyhttps://sunlight.dev/14:55:04

Show newer messages


Back to Room ListRoom Version: 6