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

BadValue: net.tls.mode is not allowed when net.tls.tlsOnNormalPorts is specified

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      New in 4.1.x. I'm not setting net.tls.mode.

      # ./mongod --dbpath ./data --sslOnNormalPorts --sslCAFile ~/mongo-python-driver/test/certificates/ca.pem --sslPEMKeyFile ~/mongo-python-driver/test/certificates/server.pem --sslWeakCertificateValidation
      2018-07-13T01:13:44.286+0000 W CONTROL  [main] Option: sslOnNormalPorts is deprecated. Please use tlsOnNormalPorts instead.
      2018-07-13T01:13:44.286+0000 W CONTROL  [main] Option: sslPEMKeyFile is deprecated. Please use tlsPEMKeyFile instead.
      2018-07-13T01:13:44.286+0000 W CONTROL  [main] Option: sslCAFile is deprecated. Please use tlsCAFile instead.
      2018-07-13T01:13:44.286+0000 W CONTROL  [main] Option: sslWeakCertificateValidation is deprecated. Please use tlsWeakCertificateValidation instead.
      2018-07-13T01:13:44.287+0000 F CONTROL  [main] Failed global initialization: BadValue: net.tls.mode is not allowed when net.tls.tlsOnNormalPorts is specified
       
      # ./mongod --version
      db version v4.1.0-675-gacdbc57731
      git version: acdbc57731fa3176b0467425ece92e76a8d82958
      OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
      allocator: tcmalloc
      modules: enterprise 
      build environment:
          distmod: rhel62
          distarch: x86_64
          target_arch: x86_64
      

      I'm guessing this is related to the changes in SERVER-35979.

        Attachments

          Activity

            People

            Assignee:
            sara.golemon Sara Golemon
            Reporter:
            behackett Bernie Hackett
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: