diff options
author | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-09-25 10:40:22 -0400 |
---|---|---|
committer | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-09-25 11:27:14 -0400 |
commit | 3a5ea7b224b97b77cc5e21d89a41ebb762cc177c (patch) | |
tree | b6323ad43151225fae683f73108448bde7cec3c7 /src/mongo/util/net/ssl_options.h | |
parent | 05c6ae595922a89b96eb05db229cf02efae2ff89 (diff) | |
download | mongo-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.h | 6 |
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); } |