Answers for "SSL: CERTIFICATE_VERIFY_FAILED mongo atlas"

1

mongodb ssl certificate_verify_failed

client = pymongo.MongoClient(uri, ssl_cert_reqs=ssl.CERT_NONE)
Posted by: Guest on June-05-2021
0

SSL: CERTIFICATE_VERIFY_FAILED mongo atlas

#preReq:  pip3 install certifi
from pymongo import MongoClient
import pymongo
import certifi

client = pymongo.MongoClient(URI, tlsCAFile=certifi.where())
Posted by: Guest on July-18-2021

Code answers related to "SSL: CERTIFICATE_VERIFY_FAILED mongo atlas"

Python Answers by Framework

Browse Popular Code Answers by Language