dns: publish a TLSA record for the mail certificate key

One 3 1 1 record with the SHA-256 of the public key that Stalwart serves
since today's deploy. Renewals keep that key, so the record stays valid.
This commit is contained in:
Ruben Hensen committed 2026-11-18 10:46:55 +01:00
1 parent ebf94f62e0
commit 5bf7892cca
1 file changed
+10
+10
View File
@@ -146,3 +146,13 @@ records:
expire: 300 expire: 300
type: TXT type: TXT
content: "v=TLSRPTv1; rua=mailto:postmaster@rubenhensen.nl" content: "v=TLSRPTv1; rua=mailto:postmaster@rubenhensen.nl"
# DANE for inbound mail: SHA-256 of the public key in the certificate
# for mail.rubenhensen.nl. Renewals keep that key (--reuse-key in
# nix-infra-machine/nodes/node001.nix). To check it against the server:
# openssl s_client -connect mail.rubenhensen.nl:25 -starttls smtp </dev/null \
# | openssl x509 -noout -pubkey | openssl pkey -pubin -outform DER \
# | openssl dgst -sha256
- name: "_25._tcp.mail"
expire: 300
type: TLSA
content: "3 1 1 718809043219a89d490b97503dd176c2557fd67a15679acdfaa0ced7143ee6b8"