!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

105 Members
Another day, another cert renewal43 Servers

Load older messages


SenderMessageTime
14 Dec 2025
@arianvp:matrix.orgArianSmallstep implements this and we have a module for it in nixos I think17:08:17
24 Dec 2025
@hexa:lossy.networkhexaok, so shortlived certificates are "6ish days"00:17:22
@hexa:lossy.networkhexaor exactly 160h00:17:25
@hexa:lossy.networkhexaspecifying the remainder in valid days seems less useful 😄 00:17:48
@hexa:lossy.networkhexaI'd be fine with less than 72h remaining, ok that's three days00:19:06
@hexa:lossy.networkhexabut the renew timer should run more often than daily00:19:19
@hexa:lossy.networkhexa* but now the renew timer should run more often than daily00:19:23
@hexa:lossy.networkhexaimage.png
Download image.png
00:40:59
@hexa:lossy.networkhexa
      validMinDays = 3;
      renewInterval = "3/6:00:00";
      extraLegoRunFlags = [ "--profile=shortlived" ];
      extraLegoRenewFlags = [ "--profile=shortlived" ];
00:41:26
@hexa:lossy.networkhexaoh, I think the profile option was backported00:41:39
@hexa:lossy.networkhexa* oh, I think the profile option was backported, so that can be shortened to00:44:34
@hexa:lossy.networkhexa
      validMinDays = 3;
      renewInterval = "3/6:00:00";
      profile = "shortlived";
00:44:37
9 Jan 2026
@tom:dragar.deTom joined the room.01:05:23
@tom:dragar.deTomi just noticed the validMinDays=30 default after looking at crt.sh01:08:41
@tom:dragar.deTommaybe the validMinDays default should be made conditional based upon the profile option?01:10:53
@tom:dragar.deTomotoh it would be probably better figuring out how to it all based upon a percent remaining value01:13:52
@tom:dragar.deTom* otoh it would be probably better figuring out how to do it based upon a percent remaining value01:15:19
@tom:dragar.deTom

For certificates with a validity period under 10 days, we recommend renewing halfway through their total lifetime.

https://letsencrypt.org/docs/integration-guide/#when-to-renew

12:16:31
11 Jan 2026
@ivank:matrix.orgivan joined the room.01:56:24
@sandro:supersandro.deSandro 🐧I just read in the lego changelog, that a mail is no longer required. https://github.com/go-acme/lego/releases/tag/v4.31.0 Should we adapt to that?09:25:26
@leona:leona.isleonaLE also doesn't really use the account email anymore: https://letsencrypt.org/2025/06/26/expiration-notification-service-has-ended11:06:52
@hexa:lossy.networkhexa we hardcode RandomizedDelaySec=24h, which means my 6 hour interval gets stretched by up to 24 hours 16:05:14
@hexa:lossy.networkhexale sigh16:05:31
@hexa:lossy.networkhexa
NEXT                            LEFT LAST                              PASSED UNIT                                              ACTIVATES                                                
Sun 2026-01-11 18:07:20 UTC  2h 1min Sun 2026-01-11 12:07:29 UTC 3h 58min ago acme-renew-
Sun 2026-01-11 23:11:52 UTC       7h Sun 2026-01-11 11:12:11 UTC 4h 54min ago acme-renew-
Mon 2026-01-12 00:03:44 UTC       7h Sun 2026-01-11 12:03:44 UTC  4h 2min ago acme-renew-
Mon 2026-01-12 01:55:54 UTC       9h Sun 2026-01-11 13:56:24 UTC  2h 9min ago acme-renew-
Mon 2026-01-12 02:24:43 UTC      10h Sun 2026-01-11 02:24:44 UTC      13h ago acme-renew-
16:07:25
@hexa:lossy.networkhexa
[Timer]
AccuracySec=17280s
FixedRandomDelay=true
OnCalendar=3/6:00:00
Persistent=yes
RandomizedDelaySec=24h
16:07:40
@hexa:lossy.networkhexaso between 6 and 24 hours16:08:07
@tom:dragar.deTomAFAIK there also is some sort of problem with minica not beeing able to generate placeholder certs for IPv6 addresses. but haven't dug deeper then noticing that there seems to be a a problem in that area16:14:55
@tom:dragar.deTomah, the problem might not be minica but how it's beeing used16:21:19
@tom:dragar.deTom

https://github.com/NixOS/nixpkgs/blob/05f7778bc209d5579d5976cc0e7dc02afa21d1e4/nixos/modules/security/acme/default.nix#L390-L393

$ minica --domains 3fff::1
Invalid domain name "3fff::1"

$ minica --ip-addresses 3fff::1
16:41:14
@arianvp:matrix.orgArian
In reply to @hexa:lossy.network
we hardcode RandomizedDelaySec=24h, which means my 6 hour interval gets stretched by up to 24 hours
Lol oops
18:19:52

Show newer messages


Back to Room ListRoom Version: 6