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.
The below is my config file:
When I try to start the MongoDB service, I get the below error:
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”