summaryrefslogtreecommitdiff
path: root/jstests/ssl/dh_params.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/ssl/dh_params.js')
-rw-r--r--jstests/ssl/dh_params.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/jstests/ssl/dh_params.js b/jstests/ssl/dh_params.js
new file mode 100644
index 00000000000..2da7867aff9
--- /dev/null
+++ b/jstests/ssl/dh_params.js
@@ -0,0 +1,9 @@
+(function() {
+ "use strict";
+
+ load("jstests/ssl/libs/ssl_helpers.js");
+
+ // Verify that requireSSL with Diffie-Hellman parameters allows ssl connections
+ print("=== Testing that DHParams files can be loaded ===");
+ replShouldSucceed("dhparam-dhparam", dhparamSSL, dhparamSSL);
+}());