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

Should not be able to start mongod with CA-signed cert without specifying --sslCAFile option

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

      ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongod --dbpath ./data/ --sslOnNormalPorts --sslPEMKeyFile ../sslCA/gregorFreeBSD.pem  --replSet rs1 --smallfiles 
      Mon Feb 25 16:10:00.135 [initandlisten] MongoDB starting : pid=9598 port=27017 dbpath=./data/ 64-bit host=ip-10-36-133-56
      Mon Feb 25 16:10:00.136 [initandlisten] db version v2.4.0-rc0, pdfile version 4.5
      Mon Feb 25 16:10:00.136 [initandlisten] git version: 09967e98e5d6280305d85553cdb2dd12e2e1e149 modules: subscription
      Mon Feb 25 16:10:00.136 [initandlisten] build info: Linux bs-e-ubuntu1104 2.6.38-13-virtual #57-Ubuntu SMP Mon Mar 5 21:16:08 UTC 2012 x86_64 BOOST_LIB_VERSION=1_49
      Mon Feb 25 16:10:00.136 [initandlisten] allocator: tcmalloc
      Mon Feb 25 16:10:00.136 [initandlisten] options: { dbpath: "./data/", replSet: "rs1", smallfiles: true, sslOnNormalPorts: true, sslPEMKeyFile: "../sslCA/gregorFreeBSD.pem" }
      Mon Feb 25 16:10:00.144 [initandlisten] journal dir=./data/journal
      Mon Feb 25 16:10:00.144 [initandlisten] recover : no journal files present, no recovery needed
      Mon Feb 25 16:10:00.161 [initandlisten] waiting for connections on port 27017 ssl
      Mon Feb 25 16:10:00.162 [websvr] admin web console waiting for connections on port 28017 ssl
      Mon Feb 25 16:10:00.165 [rsStart] replSet I am ip-10-36-133-56:27017
      Mon Feb 25 16:10:00.165 [rsStart] replSet STARTUP2
      Mon Feb 25 16:10:01.167 [rsSync] replSet SECONDARY
      Mon Feb 25 16:10:01.167 [rsMgr] replSet info electSelf 0
      Mon Feb 25 16:10:02.166 [rsMgr] replSet PRIMARY
      

        1. gregorFreeBSD.pem
          4 kB
          Gregor Macadam

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            gregor Gregor Macadam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: