summaryrefslogtreecommitdiff
path: root/jstests/ssl/sharding_with_x509.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ssl/sharding_with_x509.js')
-rw-r--r--jstests/ssl/sharding_with_x509.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/ssl/sharding_with_x509.js b/jstests/ssl/sharding_with_x509.js
index 37741513dbf..ca6fdd5923d 100644
--- a/jstests/ssl/sharding_with_x509.js
+++ b/jstests/ssl/sharding_with_x509.js
@@ -1,7 +1,7 @@
// Tests basic sharding with x509 cluster auth
// The purpose is to verify the connectivity between mongos and the shards
-var x509_options = {sslMode : "sslOnly",
+var x509_options = {sslMode : "requireSSL",
sslPEMKeyFile : "jstests/libs/server.pem",
sslCAFile: "jstests/libs/ca.pem",
sslClusterFile: "jstests/libs/cluster-cert.pem",