Merge pull request #80 from rubenhensen/dane-reuse-key

node001: keep the mail certificate key on renewal
This commit is contained in:
Ruben Hensen authored and GitHub committed 2026-11-18 10:43:05 +01:00
commit ebf94f62e0
1 file changed
+7
+7
View File
@@ -154,6 +154,13 @@ in
"autodiscover.rubenhensen.nl"
"rubenhensen.nl"
];
# Keep the same key on renewal. The TLSA record in
# dns/domains/rubenhensen.nl.yaml pins this key, and senders that
# enforce DANE stop delivering when the two differ. Changing the
# names or the lego flags of this cert makes NixOS order a new one
# with a fresh key, so take the record out first and put the new
# hash back afterwards.
extraLegoRenewFlags = [ "--reuse-key" ];
};
};