summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/ssl_manager.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-08-29 18:14:39 +0000
committerSara Golemon <sara.golemon@mongodb.com>2018-09-10 21:08:05 +0000
commit1070aa3880ac73bc1923b44a372c61c209a35f61 (patch)
tree7c306e5f83b026d59a13ed698b1b719d5753a27c /src/mongo/util/net/ssl_manager.cpp
parent643fa66bfa58e17f70e528f2f2ed5b09c745b951 (diff)
downloadmongo-1070aa3880ac73bc1923b44a372c61c209a35f61.tar.gz
SERVER-36919 Add server setParameter tlsSuppressClientCertificate
Diffstat (limited to 'src/mongo/util/net/ssl_manager.cpp')
-rw-r--r--src/mongo/util/net/ssl_manager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/util/net/ssl_manager.cpp b/src/mongo/util/net/ssl_manager.cpp
index c8346091346..a0a21e6923c 100644
--- a/src/mongo/util/net/ssl_manager.cpp
+++ b/src/mongo/util/net/ssl_manager.cpp
@@ -62,6 +62,12 @@ ExportedServerParameter<bool, ServerParameterType::kStartupOnly>
suppressNoTLSPeerCertificateWarning(ServerParameterSet::getGlobal(),
"suppressNoTLSPeerCertificateWarning",
&sslGlobalParams.suppressNoTLSPeerCertificateWarning);
+
+ExportedServerParameter<bool, ServerParameterType::kStartupOnly> tlsWithholdClientCertificate(
+ ServerParameterSet::getGlobal(),
+ "tlsWithholdClientCertificate",
+ &sslGlobalParams.tlsWithholdClientCertificate);
+
} // namespace
class OpenSSLCipherConfigParameter