summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2022-12-16 20:43:22 +0100
committerMatthieu Saulnier <fantom@fedoraproject.org>2022-12-16 20:43:22 +0100
commiteac11c6945cf897f31244d9f3dd2651bb87342e4 (patch)
tree33860f78673dda20fc42045b463703b52dfbc3f3 /bin
parent2344188ee91bed47af300f57f42ffa59b86a8f77 (diff)
downloadplaybooks-ansible-eac11c6945cf897f31244d9f3dd2651bb87342e4.tar.gz
playbooks-ansible-eac11c6945cf897f31244d9f3dd2651bb87342e4.tar.xz
playbooks-ansible-eac11c6945cf897f31244d9f3dd2651bb87342e4.zip
Modify signature validity from 30 days (default) to 33 days
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dnssec-sign.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dnssec-sign.sh b/bin/dnssec-sign.sh
index 5d8153d..0f80edb 100755
--- a/bin/dnssec-sign.sh
+++ b/bin/dnssec-sign.sh
@@ -177,7 +177,7 @@ function sign {
VERSION=$(ls |grep 20 |tail -n 1)
echo -e "$INFO making signature of DNS records..."
- if ( dnssec-signzone -d $VERSION -K $VERSION -3 $PEPPERANDSALT -A -N INCREMENT -o $i -t $TMPZONEFILE )
+ if ( dnssec-signzone -d $VERSION -K $VERSION -3 $PEPPERANDSALT -A -N INCREMENT -e +2851200 -o $i -t $TMPZONEFILE )
then
echo -e "$OK signature done for $i"
else
@@ -234,7 +234,7 @@ function sign {
VERSION=$(ls |grep 20 |tail -n 1)
echo -e "$INFO making signature of DNS records..."
- if ( dnssec-signzone -d $VERSION -K $VERSION -3 $PEPPERANDSALT -A -N INCREMENT -o $i -t $TMPZONEFILE )
+ if ( dnssec-signzone -d $VERSION -K $VERSION -3 $PEPPERANDSALT -A -N INCREMENT -e +2851200 -o $i -t $TMPZONEFILE )
then
echo -e "$OK signature done for $i"
else