Skip to content

Commit 5096fcb

Browse files
committed
X509 client cert for testing has no password
1 parent c673e0a commit 5096fcb

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/connect/standalone-x509-auth-001.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ $driverOptions = [
1414
'weak_cert_validation' => false,
1515
'ca_file' => $SSL_DIR . '/ca.pem',
1616
'pem_file' => $SSL_DIR . '/client.pem',
17-
// TODO: this doesn't appear to have any effect. Does the PEM file not have a password?
18-
'pem_pwd' => 'qwerty',
1917
];
2018

2119
$manager = new MongoDB\Driver\Manager(STANDALONE_X509, ['ssl' => true], $driverOptions);

tests/connect/standalone-x509-auth-002.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ $driverOptions = [
1616
'allow_self_signed' => false, // "weak_cert_validation" alias
1717
'cafile' => $SSL_DIR . '/ca.pem', // "ca_file" alias
1818
'local_cert' => $SSL_DIR . '/client.pem', // "pem_file" alias
19-
// TODO: this doesn't appear to have any effect. Does the PEM file not have a password?
20-
'passphrase' => 'qwerty', // "pem_pwd" alias
2119
],
2220
]),
2321
];

0 commit comments

Comments
 (0)