Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11248

--ssl should be required if you use any of the other ssl options

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.2
    • Component/s: Security
    • Environment:
      Windows 7 Enterprise Build on 2008 R2
      Git hash:
      mongo - 1ea7e56cb2b8653d4b0453f04728033df34be9e1
      enterprise - d919ef07f817832732d2a0a2ec68251bc161193a
    • ALL
      • Start mongodb with sslMode=noSSL
      • connect mongo shell with --sslPEMKeyFile specified

      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.

            Assignee:
            sverch Shaun Verch (Inactive)
            Reporter:
            sridhar Sridhar Nanjundeswaran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: