mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 10:39:59 -04:00
[9.18] fix: test: Prevent intermittent setup.sh failures in the "statschannel" system test
Don't verify the just signed zone as the RRSIGs could have expired before the signing process completes Closes #4781 #2476 Backport of MR !9114 Merge branch 'backport-4781-statschannel-setup-can-fail-due-to-short-validity-interval-9.18' into 'bind-9.18' See merge request isc-projects/bind9!9196
This commit is contained in:
commit
90313c2c8b
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,8 @@ zsk13=$("$KEYGEN" -q -a ECDSAP256SHA256 -L 3600 -b 256 "$zone")
|
|||
ksk14=$("$KEYGEN" -q -a ECDSAP384SHA384 -L 3600 -b 384 -f KSK "$zone")
|
||||
zsk14=$("$KEYGEN" -q -a ECDSAP384SHA384 -L 3600 -b 384 "$zone")
|
||||
# Sign deliberately with a very short expiration date.
|
||||
"$SIGNER" -S -x -O full -e "now"+1s -o "$zone" -f "$zonefile" "$infile" >"signzone.out.$zone" 2>&1
|
||||
# Disable zone verification (-P) as records may expire before signing is complete
|
||||
"$SIGNER" -P -S -x -O full -e "now"+1s -o "$zone" -f "$zonefile" "$infile" >"signzone.out.$zone" 2>&1
|
||||
keyfile_to_key_id "$ksk8" >manykeys.ksk8.id
|
||||
keyfile_to_key_id "$zsk8" >manykeys.zsk8.id
|
||||
keyfile_to_key_id "$ksk13" >manykeys.ksk13.id
|
||||
|
|
|
|||
Loading…
Reference in a new issue