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

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

      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.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: