mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Disable unstable test cases in src/test/ssl/t/001_ssltests.pl.
Missed one in 55828a6b60
:-(
Discussion: https://postgr.es/m/E1oCNLk-000LCH-Af@gemulon.postgresql.org
This commit is contained in:
parent
55828a6b60
commit
e993166d71
@ -734,14 +734,17 @@ $common_connstr =
|
||||
$node->connect_ok(
|
||||
"$common_connstr sslmode=require sslcert=ssl/client+client_ca.crt",
|
||||
"intermediate client certificate is provided by client");
|
||||
|
||||
$node->connect_fails(
|
||||
$common_connstr . " " . "sslmode=require sslcert=ssl/client.crt",
|
||||
"intermediate client certificate is missing",
|
||||
expected_stderr => qr/SSL error: tlsv1 alert unknown ca/,
|
||||
log_like => [
|
||||
qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
|
||||
qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
|
||||
]);
|
||||
# temporarily(?) skip this check due to timing issue
|
||||
# log_like => [
|
||||
# qr{Client certificate verification failed at depth 0: unable to get local issuer certificate},
|
||||
# qr{Failed certificate data \(unverified\): subject "/CN=ssltestuser", serial number 2315134995201656576, issuer "/CN=Test CA for PostgreSQL SSL regression test client certs"},
|
||||
# ]
|
||||
);
|
||||
|
||||
$node->connect_fails(
|
||||
"$common_connstr sslmode=require sslcert=ssl/client-long.crt " . sslkey('client-long.key'),
|
||||
|
Loading…
Reference in New Issue
Block a user