From 0f37f590b3ea7af35fb48b9be448f9a4044da4aa Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 18 Mar 2016 09:00:44 +0100 Subject: [PATCH] Add a ZSK to secure-delegated test zone properly Don't rely on the output of pdnsutil for this Closes #3591 --- regression-tests/start-test-stop | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index a13520cde..437fb644f 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -76,9 +76,7 @@ securezone () if [ "${zone: 0:16}" = "secure-delegated" ] then $PDNSUTIL --config-dir=. $configname import-zone-key $zone $zone.private ksk 2>&1 - $PDNSUTIL --config-dir=. $configname add-zone-key $zone 1024 zsk 2>&1 - keyid=`$PDNSUTIL --config-dir=. $configname show-zone $zone | grep ZSK | cut -d' ' -f3` - $PDNSUTIL --config-dir=. $configname activate-zone-key $zone $keyid 2>&1 + $PDNSUTIL --config-dir=. $configname add-zone-key $zone 1024 zsk active 2>&1 $PDNSUTIL --config-dir=. $configname rectify-zone $zone 2>&1 $PDNSUTIL --config-dir=. $configname set-publish-cds $zone 2>&1 $PDNSUTIL --config-dir=. $configname set-publish-cdnskey $zone 2>&1 -- 2.40.0