summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/ssl_options.h
diff options
context:
space:
mode:
authorAmalia Hawkins <amalia.hawkins@10gen.com>2014-09-25 10:40:22 -0400
committerAmalia Hawkins <amalia.hawkins@10gen.com>2014-09-25 11:27:14 -0400
commit3a5ea7b224b97b77cc5e21d89a41ebb762cc177c (patch)
treeb6323ad43151225fae683f73108448bde7cec3c7 /src/mongo/util/net/ssl_options.h
parent05c6ae595922a89b96eb05db229cf02efae2ff89 (diff)
downloadmongo-3a5ea7b224b97b77cc5e21d89a41ebb762cc177c.tar.gz
SERVER-14713: User must specify either sslAllowInvalidCertificates or sslCAFile when starting mongo shell in SSL mode.
Diffstat (limited to 'src/mongo/util/net/ssl_options.h')
-rw-r--r--src/mongo/util/net/ssl_options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/util/net/ssl_options.h b/src/mongo/util/net/ssl_options.h
index 3fd9d2abeb7..78ee2b899bf 100644
--- a/src/mongo/util/net/ssl_options.h
+++ b/src/mongo/util/net/ssl_options.h
@@ -98,4 +98,10 @@ namespace mongo {
Status validateSSLServerOptions(const moe::Environment& params);
Status storeSSLClientOptions(const moe::Environment& params);
+
+ /**
+ * Used by the Mongo shell to validate that the SSL options passed are acceptable and
+ * do not conflict with one another.
+ */
+ Status validateSSLMongoShellOptions(const moe::Environment& params);
}