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

MongoD able to start w/ any valid form certificate w/o validate it against the CA

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • Fully Compatible
    • ALL

      MongoD 3.0 GA

      Environment:

      1) Single Mongod
      2) Certificates from an external CA authority (windows 2008), certificates attached

      • newcert4.pem - Certificate and private key
      • CA4.pem - CA auth certificate

      Problem:
      Start mongod with netcert4.pem works correctly (see command line), but I expected it to work only with --sslCAFile (AS this is not a self-sign certificate)

      %MongoD%\mongod --replSet EitanRs3a --port 5002 --dbpath d:\data\db1 --storageEngine wiredTiger -
      -logpath d:\data\rs3primary.txt --sslMode requireSSL --sslPEMKeyFile newcert4.pem

            Assignee:
            Unassigned Unassigned
            Reporter:
            eitan.klein Eitan Klein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: