Catching up with current successes
This commit is contained in:
4
roles/SSL/templates/tlsa-generation.bash.j2
Normal file
4
roles/SSL/templates/tlsa-generation.bash.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
openssl x509 -in /etc/letsencrypt/live/{{ sslidentity }}/chain.pem -noout -pubkey | openssl rsa -pubin -outform DER | openssl dgst -sha256 -hex | awk '{print "le-ca TLSA 2 1 1", $NF}'
|
||||
openssl x509 -in /etc/letsencrypt/live/{{ sslidentity}}/cert.pem -noout -pubkey | openssl rsa -pubin -outform DER | openssl dgst -sha256 -hex | awk '{print "cert TLSA 3 1 1", $NF}'
|
||||
|
Reference in New Issue
Block a user