!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

113 Members
Another day, another cert renewal47 Servers

Load older messages


SenderMessageTime
13 May 2026
@hexa:lossy.networkhexa osnyx (he/him) I don't see a way to make the lego 5.0 migration not renew all certs fwiw 15:29:36
@hexa:lossy.networkhexahttps://go-acme.github.io/lego/migration/cli/index.html15:29:37
@hexa:lossy.networkhexaRedacted or Malformed Event15:29:47
@hexa:lossy.networkhexawe'll drop renew flags, because renew is gone15:35:12
@hexa:lossy.networkhexaand both global and renew flags now live in run15:35:25
@hexa:lossy.networkhexacan't invalidate the hashdata harder15:35:43
@hexa:lossy.networkhexa
+ lego run --accept-tos --path . --no-random-sleep --http --http.address :80 --server https://acme.test/dir --key-type ec256 --domains builtin.example.test --domains 192.168.1.2
2026-05-13T15:45:13.971858291Z INFO  Private key saved. filepath=accounts/acme.test/noemail@example.com/noemail@example.com.key
2026-05-13T15:45:13.979702584Z ERROR Error error="renew: registration: the account noemail@example.com is not registered"
15:51:05
@hexa:lossy.networkhexa so on email change we not get "not registered" 15:51:21
@hexa:lossy.networkhexaRedacted or Malformed Event15:52:44
@emilazy:matrix.orgemilywe can just drop email for LE, right?16:05:48
@emilazy:matrix.orgemilythey no longer use or store it16:05:51
@emilazy:matrix.orgemilybut otoh I guess if we key the hash on it then CAA…16:06:13
@hexa:lossy.networkhexathe test passes an email on the first run16:06:52
@hexa:lossy.networkhexadrops it on the second16:06:54
@hexa:lossy.networkhexaand gets that error16:06:58
@hexa:lossy.networkhexaso renewing with a different email (no email) fails16:07:15
@hexa:lossy.networkhexaI found --force-cert-domains, which is nice16:07:33
@hexa:lossy.networkhexafiled an issue https://github.com/go-acme/lego/issues/308416:25:00
@hexa:lossy.networkhexamaybe we need to --force-renew in these cases16:26:01
@hexa:lossy.networkhexaRedacted or Malformed Event16:26:05
@hexa:lossy.networkhexaRedacted or Malformed Event16:26:26
@hexa:lossy.networkhexa
   --renew-force                          Force the renewal of the certificate even if it is not due for renewal yet. [$LEGO_RENEW_FORCE]
16:26:38
@hexa:lossy.networkhexaexcept that might only be relevant for the renewal threshold skipping16:26:46
@hexa:lossy.networkhexa if someone has the urge to play with this, here's my progress so far
https://github.com/mweinelt/nixpkgs/pull/new/lego-5.0.3
16:30:05
@hexa:lossy.networkhexawill grab some food now16:30:23
@hexa:lossy.networkhexathis drops the domainhash comparison, because I'm not sure whether it makes a meaningful difference anymore16:32:16
@hexa:lossy.networkhexawe need to understand how the new interface treats flag changes before renewal time first16:33:27
@hexa:lossy.networkhexagreat response from upstream19:12:10
@hexa:lossy.networkhexahttps://go-acme.github.io/lego/advanced/accounts/index.html#register19:12:20
@hexa:lossy.networkhexawe can even self-manage registrations19:12:25

Show newer messages


Back to Room ListRoom Version: 6