ServerSelectionTimeoutError: cluster0-shard-00-01.j0tae.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1125)

Hi @Ishant_Srivastava,

Welcome to MongoDB Community.

Please verify that your public bundle TLS certificates on this host are up to date.

See my repsonse for Java issue and try to use it for your use case:

If you can also test a mongo shell connection from the same host it will be great.

Best regards,
Pavel

2 Likes