Match output format to what scripts expect

This commit is contained in:
Michael Sawyer
2000-06-12 20:32:47 +00:00
parent 8a99c43727
commit e6e0dadd30
9 changed files with 28 additions and 27 deletions

View File

@@ -18,25 +18,27 @@
SYSTEMTESTTOP=../..
. $SYSTEMTESTTOP/conf.sh
RANDFILE=../random.data
zone=.
infile=root.db.in
zonefile=root.db
keyname=`$KEYGEN -a RSA -b 768 -n zone $zone`
keyname=`$KEYGEN -a RSA -b 768 -n zone -r $RANDFILE $zone`
(cd ../ns2 && sh sign.sh )
cp ../ns2/example.keyset .
$KEYSIGNER example.keyset $keyname
$KEYSIGNER -r $RANDFILE example.keyset $keyname
cat example.signedkey >> ../ns2/example.db.signed
$KEYSETTOOL -t 3600 $keyname
$KEYSETTOOL -r $RANDFILE -t 3600 $keyname
cat $infile $keyname.key > $zonefile
$SIGNER -o $zone $zonefile
$SIGNER -r $RANDFILE -o $zone $zonefile
# Configure the resolving server with a trusted key.