How to resolve SSL error from connecting to MongoDB Atlas

If you see an error that looks like below from connecting to a MongoDB at MongoDB Atlas, please try the solution explained in this Note.

Error : No suitable servers found (`serverSelectionTryOnce` set): [TSL handshake failed: error:...

Cause of the Error

It is likely that this error is caused from recent update of root SSL certificate at MongoDB Atlas.

Solution

With Microsoft Edge (the browser), visit the following page to enable the required root SSL certificate on your Windows.

https://valid-isrgrootx1.letsencrypt.org/

Then, please see if you can connect to the MongoDB on MongoDB Atlas from your Exploratory Desktop.