Hello,
I reported this bug
https://jira.mongodb.org/browse/MONGOSH-355
some time ago.
You seem to have very similar problems with mongodump. It is not going to run, and I tried every single combination of command line possible with a 4096 bit RSA certificate or SSL enabled.
A similar cryptic error message
Failed: can't create session: could not connect to server: server selection error: server selection timeout, current topology: { Type: Single, Servers: [
, ] }
in this case EOF of connection is used here.
All connections, whether local or remote from python work with certificates and TLS enabled.
Only if I remove all TLS from mongod.conf mongodump can connect and do its work
Please do not ask for a specific command line, as said I tried all combinations you simply do not get a proper connect with TLS 1.3
net:
tls:
mode: requireTLS
disabledProtocols: TLS1_0,TLS1_1,TLS1_2
certificateKeyFile: /etc/ssl/certs/mongo.pem
Only if this is removed it works. Even if you add allowConnectionsWithoutCertificates: true it does not work.
The above configuration is used in productive use without any issues for mongod (local and remote through pymongo)
- is related to
-
TOOLS-2707 Build mongo-tools and mongo-tools-common with go 1.15
- Closed
- related to
-
MONGOSH-355 Mongosh can not be started with TLS on CentOS8
- Closed