From aae64821c1e8284cf92a7d105f4d39855b516a10 Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Thu, 24 Jul 2025 09:51:29 -0400 Subject: [PATCH] do_dns_tlsa.sh is near production --- support/do_dns_tlsa.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/do_dns_tlsa.sh b/support/do_dns_tlsa.sh index e297cea..14a370e 100755 --- a/support/do_dns_tlsa.sh +++ b/support/do_dns_tlsa.sh @@ -77,12 +77,14 @@ gen_dane () { SUM=`openssl ec -in ./ec_key.pem -pubout -outform DER | sha256sum` +( echo ";--------------------------------------------" echo ";TLSA record to be inserted in domain DNS" echo -e "_25._tcp.`hostname -s`\tTLSA\t3 1 1\t$SUM" echo -e "_465._tcp.`hostname -s`\tTLSA\t3 1 1\t$SUM" echo -e "_587._tcp.`hostname -s`\tTLSA\t3 1 1\t$SUM" echo ";--------------------------------------------" +) > ./dns_tlsa } #Set working directory -- 2.47.3