Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
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.