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

Invalid error message or error check

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: Security
    • Labels:
    • Environment:
      Windows 7 Enterprise Build on 2008 R2
      Git hash:
      mongo - 1ea7e56cb2b8653d4b0453f04728033df34be9e1
      enterprise - d919ef07f817832732d2a0a2ec68251bc161193a
    • ALL
    • Hide
      • Start mongod with sslOnNormalPorts, PEM file and sslWeakCertificateValidation
        using config file
        dbpath=d:\data\db
        sslOnNormalPorts=true
        sslPEMKeyFile=c:\Users\qa377\Downloads\pems\server.pem
        sslWeakCertificateValidation=true
      Show
      Start mongod with sslOnNormalPorts, PEM file and sslWeakCertificateValidation using config file dbpath=d:\data\db sslOnNormalPorts=true sslPEMKeyFile=c:\Users\qa377\Downloads\pems\server.pem sslWeakCertificateValidation=true

      c:\Program Files\MongoDB 2.5.2 Enterprise\bin>mongod.exe --config config.conf
      Error storing command line: BadValue need sslCAFile with sslWeakCertificateValid
      ation

      sslWeakCert doc on help is
      --sslWeakCertificateValidation allow client to connect without presenting a
      certificate

      Hence specifying sslWeakCertificateValidation should not require sslCAFile

            Assignee:
            andreas.nilsson Andreas Nilsson
            Reporter:
            sridhar Sridhar Nanjundeswaran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: