1#!/bin/sh -e 2# 3# Copyright (C) Internet Systems Consortium, Inc. ("ISC") 4# 5# This Source Code Form is subject to the terms of the Mozilla Public 6# License, v. 2.0. If a copy of the MPL was not distributed with this 7# file, you can obtain one at https://mozilla.org/MPL/2.0/. 8# 9# See the COPYRIGHT file distributed with this work for additional 10# information regarding copyright ownership. 11 12SYSTEMTESTTOP=../.. 13. $SYSTEMTESTTOP/conf.sh 14 15zone=example. 16zonefile=example.db 17signedfile=example.db.signed 18 19ksk=`$KEYGEN -q -a RSASHA256 -b 2048 -fk $zone` 20zsk=`$KEYGEN -q -a RSASHA256 -b 1024 $zone` 21$SIGNER -S -o $zone -f $signedfile $zonefile > /dev/null 22 23zone=wildcard-secure.example. 24zonefile=wildcard-secure.db 25signedfile=wildcard-secure.example.db.signed 26 27ksk=`$KEYGEN -q -a RSASHA256 -b 2048 -fk $zone` 28zsk=`$KEYGEN -q -a RSASHA256 -b 1024 $zone` 29$SIGNER -S -o $zone -f $signedfile $zonefile > /dev/null 30 31zone=wildcard-nsec.example. 32zonefile=wildcard.db 33signedfile=wildcard-nsec.example.db.signed 34 35ksk=`$KEYGEN -q -a RSASHA256 -b 2048 -fk $zone` 36zsk=`$KEYGEN -q -a RSASHA256 -b 1024 $zone` 37$SIGNER -S -o $zone -f $signedfile $zonefile > /dev/null 38 39zone=wildcard-nsec3.example. 40zonefile=wildcard.db 41signedfile=wildcard-nsec3.example.db.signed 42 43ksk=`$KEYGEN -q -a RSASHA256 -b 2048 -fk $zone` 44zsk=`$KEYGEN -q -a RSASHA256 -b 1024 $zone` 45$SIGNER -S -3 - -H 0 -o $zone -f $signedfile $zonefile > /dev/null 46 47zone=wildcard-nsec3-optout.example. 48zonefile=wildcard.db 49signedfile=wildcard-nsec3-optout.example.db.signed 50 51ksk=`$KEYGEN -q -a RSASHA256 -b 2048 -fk $zone` 52zsk=`$KEYGEN -q -a RSASHA256 -b 1024 $zone` 53$SIGNER -S -3 - -H 0 -A -o $zone -f $signedfile $zonefile > /dev/null 54