Unable to connect remote to mongo db

Command tried : mongo “mongodb+srv://m001-student:m001-mongodb-basics@sandbox.1swa0.mongodb.net/”

Error :

MongoDB shell version v3.6.8
2021-09-21T07:36:35.777+0530 I NETWORK [thread1] Starting new replica set monitor for sandbox-shard-00-02
2021-09-21T07:36:36.726+0530 E NETWORK [ReplicaSetMonitor-TaskExecutor-0] SSL peer certificate validation failed: self signed certificate in certificate chain
2021-09-21T07:36:37.481+0530 E NETWORK [ReplicaSetMonitor-TaskExecutor-0] SSL peer certificate validation failed: self signed certificate in certificate chain
2021-09-21T07:36:37.607+0530 E NETWORK [thread1] SSL peer certificate validation failed: self signed certificate in certificate chain
2021-09-21T07:36:37.607+0530 W NETWORK [thread1] Unable to reach primary for set atlas-12qlp3-shard-0

You may be using old version of shell.Try to upgrade to the latest version or use long form of connect string from Atlas