add unified session ticket keys file for dnsdist

This commit is contained in:
Daniel Micay 2025-05-27 14:28:16 -04:00
parent 94a2567b15
commit 6555042a88
2 changed files with 5 additions and 0 deletions

View file

@ -7,3 +7,5 @@ cd /etc/session-ticket-keys
for i in {1..4}; do
head -c 80 </dev/random >$i.key
done
cat {1..4}.key > keys

View file

@ -10,4 +10,7 @@ rsync -I 4.key 3.key
head -c 80 </dev/random >new.key
rsync -I new.key 4.key
rm new.key
cat {1..4}.key > keys.new
rsync -I keys.new keys
rm keys.new
nginx -s reload