Can't Connect to MongoDB Atlas

facing error while conneccting to MongoDB Atlas

mongo “mongodb://,,” --authenticationDatabase admin --ssl -u m121 -p aggregations --norc

Error Message

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


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