diff options
author | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-09-22 17:36:47 -0400 |
---|---|---|
committer | Amalia Hawkins <amalia.hawkins@10gen.com> | 2014-09-24 17:08:34 -0400 |
commit | 0c46836a9befaff86825a8238027c8b4223ca14c (patch) | |
tree | a6ae2bd0e513f96dc77d1546cdef7f3e97108760 /src/mongo/shell/shell_options_init.cpp | |
parent | 5dba44d45efad5baec9bc1e5ea6f8ad0700b6059 (diff) | |
download | mongo-0c46836a9befaff86825a8238027c8b4223ca14c.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.cpp | 5 |
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(); } |