I am new to MongoDB. I have installed MongoDB, and have done the configurations. Everything works fine till I add the configuration for TLS.I am using a Self signed Certificate. The MongoDB version I am using is 4.2.5. I am using Windows Server 2016 Datacenter edition. I have enabled TLS (1.0, 1.1, 1.2 (Server)) in registry.
However, I noticed that when I take out the below statements from the config file, the service starts:
net:
tls:
mode: requireTLS
certificateSelector: thumdprint=“45b*********************************************37”
I am also using “CertificateSelector” using thumbprint and i am able to run mongo service as well
also i can pass --tlsCertificateSelector option while connecting using mongo.exe (client) and able to connect to the server.
but the poblem i am facing with mongodump and mongorestore utility i am not able to pass these parameters to take the database backup.
Can any one pls guide me how to take mongo dump if i am using “CertificateSelector” using command line