There was an error while loading. Please reload this page.
1 parent 6400922 commit 87580b1Copy full SHA for 87580b1
test/test_ssl.py
@@ -339,7 +339,7 @@ def test_cert_ssl_uri_support(self):
339
"hostname in the certificate")
340
341
uri_fmt = ("mongodb://server/?ssl=true&ssl_certfile=%s&ssl_cert_reqs"
342
- "=%s&ssl_ca_certs=%s")
+ "=%s&ssl_ca_certs=%s&ssl_match_hostname=true")
343
client = MongoClient(uri_fmt % (CLIENT_PEM, 'CERT_REQUIRED', CA_PEM))
344
345
db = client.pymongo_ssl_test
0 commit comments