MongoServerSelectionError: unable to verify the first certificate

Hello Team

I configure mongodb enterprise edition in amazon ec2 instance
and also configured ssl certificates and security authorization and after configuring ssl certificates
i am not able to login to the mongo shell
getting below error:
MongoServerSelectionError: unable to verify the first certificate

can anyone help me on this

Thank you

We’ve got this problem too. Did you get a solution? The mongodb we’re trying to connect to is also in ec2.