MongoDB Atlas SSL握手失败:
我可以通过Mongosh Shell连接到MongoDB Atlas DB,但是在尝试通过Pymongo驱动程序访问时,我会遇到错误。这是连接字符串:
mongodb+srv://<user:<password>@cluster0.j1tlk.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
这是我遇到的错误:
SSL handshake failed: cluster0-shard-00-00.j1tlk.mongodb.net:27017: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed'
I can connect to mongodb atlas db through the mongosh shell, however I get an error when trying to access through the pymongo driver. This is the connection string:
mongodb+srv://<user:<password>@cluster0.j1tlk.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
And this the error I am getting:
SSL handshake failed: cluster0-shard-00-00.j1tlk.mongodb.net:27017: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论