Skip to content

Commit 20bb353

Browse files
committed
test: enforce explicit CRL signature verification
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent b43b345 commit 20bb353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/php/Unit/Handler/CertificateEngine/OpenSslHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public function testGenerateCrlDerWithRevokedCertificates(array $certificates):
502502

503503
$caCertPath = $configPath . DIRECTORY_SEPARATOR . 'ca.pem';
504504
$verifyCmd = sprintf(
505-
'openssl crl -in %s -inform DER -CAfile %s -noout 2>&1',
505+
'openssl crl -in %s -inform DER -CAfile %s -verify -noout 2>&1',
506506
escapeshellarg($tempCrlFile),
507507
escapeshellarg($caCertPath)
508508
);

0 commit comments

Comments
 (0)