Maddy: Difference between revisions

Klinger (talk | contribs)
Dave (talk | contribs)
m Add alternate way of generating TLSA
Line 157: Line 157:
</syntaxhighlight>
</syntaxhighlight>


Add the key to a new TLSA record in your nameserver
Or you can generate it directly from the TLS-certificate that you are using with maddy:<syntaxhighlight lang="console">
# openssl x509 -in cert.pem -pubkey -noout | openssl ec -pubin -outform der | sha256sum
</syntaxhighlight>Add the key to a new TLSA record in your nameserver


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>