[SERVER-11248]  --ssl should be required if you use any of the other ssl options Created: 17/Oct/13  Updated: 11/Jul/16  Resolved: 19/Nov/13

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.5.2
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Sridhar Nanjundeswaran Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 Enterprise Build on 2008 R2
Git hash:
mongo - 1ea7e56cb2b8653d4b0453f04728033df34be9e1
enterprise - d919ef07f817832732d2a0a2ec68251bc161193a


Issue Links:
Depends
Duplicate
is duplicated by SERVER-11251 Server should not start with sslMode=... Closed
Related
related to SERVER-11232 specifying pem file option on shell s... Closed
Operating System: ALL
Steps To Reproduce:
  • Start mongodb with sslMode=noSSL
  • connect mongo shell with --sslPEMKeyFile specified
Participants:

 Description   

mongo shell connects to a server with sslMode=noSSL with PEM file specified.

Expect an error whereas the shell connects

  • Either an error to show --ssl flag is missing or
  • Should not connect which is what occurs when --ssl is also specified or --ssl is specified by itself.

See SERVER-11248.



 Comments   
Comment by Githook User [ 19/Nov/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11248 Require ssl if any of the other ssl options are specified
Branch: master
https://github.com/mongodb/mongo/commit/9795d501bb74edcfbcd518300fd1b96e4f2856e1

Comment by Eric Milkie [ 17/Oct/13 ]

This should be a ticket to add a constraint to the command line options so that --ssl is required if you use any of the other ssl options.

Generated at Thu Feb 08 03:25:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.