Skip to content

Commit

Permalink
stalwart/acme: reuse private key for cert renewal for TLSA record
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotcorreia committed Dec 31, 2024
1 parent a4a5068 commit c3eb331
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions profiles/services/stalwart-mail.nix
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ in {
mailDomains
);

security.acme.certs.${stalwartDomain} = {
# keep a stable private key for TLSA records (DANE)
# https://community.letsencrypt.org/t/please-avoid-3-0-1-and-3-0-2-dane-tlsa-records-with-le-certificates/7022/14
extraLegoRenewFlags = ["--reuse-key"];
};

modules.impermanence.directories = [dataDir];
modules.services.restic = {
backupPrepareCommand = ''
Expand Down

0 comments on commit c3eb331

Please sign in to comment.