Sample Header Ad - 728x90

How to reject unvalidated SSL client connections from the MongoDB server?

0 votes
1 answer
191 views
I have setup a MongoDB server with a self-signed server certificate, and when I use the server validation method in Compass along with the CA certificate, it works well. However, I am still able to connect to the database if I select the “unvalidated” option in Compass, and I don’t want that. I want to reject any client connections that are not validating the server certificate. Is it possible to setup the server to do that? I have requireTLS setup in the config file, but Compass still lets unvalidated connections through.
Asked by Parag Goel (1 rep)
Feb 17, 2020, 10:03 PM
Last activity: Jun 19, 2025, 10:07 AM