Added an option to permit specifying a Diffie Hellman parameters file in PEM format which will be passed to OpenSSL. We also now indicate to OpenSSL that we'd like Elliptic Curve Diffie Hellman Exchange, if the client supports it.
10 lines
299 B
JavaScript
10 lines
299 B
JavaScript
(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);
|
|
}());
|