Skip to content

Commit

Permalink
Adjust CA test according to new wording
Browse files Browse the repository at this point in the history
  • Loading branch information
beldmit committed Jul 28, 2023
1 parent af20283 commit 2a8a5e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tcl_tests/ca.try
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ test -skip {![file exists $userdir/broken.pem]} "Registering broken request at c
test "Revoking certificate" {
set revoking_cert $::test::ca/newcerts/[string trim [getFile $::test::ca/serial.old]].pem
append serial_list [regsub "serial=" [openssl "x509 -in $revoking_cert -noout -serial"] " Serial Number: "]
grep "Data Base" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\
format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"]
} 0 "Data Base Updated
string map {"Data Base" Database Updated updated} [ grep "Data" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\
format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"] ]
} 0 "Database updated
"
test -createsfiles test.crl "Generating CRL" {
openssl "ca -gencrl -config $::test::ca/ca.conf -out test.crl"
Expand Down

0 comments on commit 2a8a5e0

Please sign in to comment.