Can't Connect to MongoDB Atlas

facing error while conneccting to MongoDB Atlas

mongo “mongodb://cluster0-shard-00-00-jxeqq.mongodb.net:27017,cluster0-shard-00-01-jxeqq.mongodb.net:27017,cluster0-shard-00-02-jxeqq.mongodb.net:27017/aggregations?replicaSet=Cluster0-shard-0” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

Error Message

Failed global initialization: BadValue need to either provide sslCAFile or specify sslAllowInvalidCertificates

Hi,

Are you using a virtual machine or a container? If that is the case I would recommend to install MongoDB in your native OS.

José Carlos