ssl_cert_reqs=CERT_NONE is insecure and not recommended. See ServerSelectionTimeoutError [SSL: CERTIFICATE_VERIFY_FAILED] Trying to understand the origin of the problem for how to fix TLS errors securely.
2 Likes