diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-03-22 12:08:42 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-04-06 18:19:21 -0400 |
commit | 7baac52f05a3e0cbdb7168e51836f507eda99dff (patch) | |
tree | 0bec9669a362aabd5d8b5cbcdcba4f9418c42509 /jstests/ssl/disable_x509.js | |
parent | 9b278765717f4645f1469b389338d3ec055c3316 (diff) | |
download | mongo-7baac52f05a3e0cbdb7168e51836f507eda99dff.tar.gz |
SERVER-17450 Cleanup SSL test infrastructure
Diffstat (limited to 'jstests/ssl/disable_x509.js')
-rw-r--r-- | jstests/ssl/disable_x509.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/ssl/disable_x509.js b/jstests/ssl/disable_x509.js index 8b3ec8957b6..57175aa0f94 100644 --- a/jstests/ssl/disable_x509.js +++ b/jstests/ssl/disable_x509.js @@ -1,9 +1,12 @@ // Test enabling and disabling the MONGODB-X509 auth mech -TestData.useX509 = false; var CLIENT_USER = "CN=client,OU=KernelUser,O=MongoDB,L=New York City,ST=New York,C=US" -var conn = MongoRunner.runMongod({ smallfiles: "", auth: "" }); +var conn = MongoRunner.runMongod({smallfiles: "", + auth: "", + sslMode: "requireSSL", + sslPEMKeyFile: "jstests/libs/server.pem", + sslCAFile: "jstests/libs/ca.pem"}); // Find out if this build supports the authenticationMechanisms startup parameter. // If it does, restart with and without the MONGODB-X509 mechanisms enabled. |