Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1799

mongod --sslPEMKeyPassword required even if there's no password

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      linux

      This is from current github master. Making self-signed cert with -nodes option as suggested in http://docs.mongodb.org/manual/tutorial/configure-ssl/ creates a key file with no password. Trying to start mongod using the resulting pem file produces a diagnostic saying the --sslPEMKeyPassword option is required, and then the server dosn't start. Supplying --sslPEMKeyPassword "" (i.e. an empty string as password) suppresses the error.

      "Doc change" option below is checked because the doc file should be updated to say how to deal with the password.

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            mhqpaul Paul Rubin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              10 years, 38 weeks ago