summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options_init.cpp
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/shell/shell_options_init.cpp
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/shell/shell_options_init.cpp')
-rw-r--r--src/mongo/shell/shell_options_init.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_options_init.cpp b/src/mongo/shell/shell_options_init.cpp
index 942ebaf0810..bfbdf8188e2 100644
--- a/src/mongo/shell/shell_options_init.cpp
+++ b/src/mongo/shell/shell_options_init.cpp
@@ -44,6 +44,11 @@ namespace mongo {
if (!ret.isOK()) {
return ret;
}
+ ret = validateMongoShellOptions(moe::startupOptionsParsed);
+ if (!ret.isOK()) {
+ return ret;
+ }
+
return Status::OK();
}