summaryrefslogtreecommitdiff
path: root/jstests/ssl/ssl_crl.js
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2013-11-14 19:08:35 +0000
committerAndreas Nilsson <andreas.nilsson@10gen.com>2013-11-14 19:55:55 +0000
commit8041835681df6b4b7b606aa45f979e274cacbe5d (patch)
tree7f87ebdc522bcd85d1960bf32e54ff5f9cb1f4dc /jstests/ssl/ssl_crl.js
parent9f5101d6e90e1da2b76423bf2f066107639ba4e0 (diff)
downloadmongo-8041835681df6b4b7b606aa45f979e274cacbe5d.tar.gz
SERVER-11375 Change names of sslMode states
Diffstat (limited to 'jstests/ssl/ssl_crl.js')
-rw-r--r--jstests/ssl/ssl_crl.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/ssl/ssl_crl.js b/jstests/ssl/ssl_crl.js
index 75a5e0e6c4c..0500a73ecbc 100644
--- a/jstests/ssl/ssl_crl.js
+++ b/jstests/ssl/ssl_crl.js
@@ -12,7 +12,7 @@ var baseName = "jstests_ssl_ssl_crl";
var md = startMongod("--port", port1, "--dbpath",
MongoRunner.dataPath + baseName + "1",
- "--sslMode", "sslOnly",
+ "--sslMode", "requireSSL",
"--sslPEMKeyFile", "jstests/libs/server.pem",
"--sslCAFile", "jstests/libs/ca.pem",
"--sslCRLFile", "jstests/libs/crl.pem");
@@ -28,7 +28,7 @@ assert(mongo==0);
port2 = ports[1];
// This test ensures clients cannot connect if the CRL is expired.
md = startMongod("--port", port2, "--dbpath", MongoRunner.dataPath + baseName + "2",
- "--sslMode", "sslOnly",
+ "--sslMode", "requireSSL",
"--sslPEMKeyFile", "jstests/libs/server.pem",
"--sslCAFile", "jstests/libs/ca.pem",
"--sslCRLFile", "jstests/libs/crl_expired.pem");