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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor - P4 Minor - P4
    • 01112017-cleanup
    • None
    • None
    • None
    • linux

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 27 weeks, 1 day ago