-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Tests which rely on the "server" hostname are always skipped, for example:
[2025/06/11 16:39:43.755] test/asynchronous/test_ssl.py::TestSSL::test_validation_with_system_ca_certs SKIPPED [ 87%]
Way back in PYTHON-1075 we introduced TLS tests for hostname verification. To do so, we added "server" to /etc/hosts as an alias for "localhost" and assert that attempting to connect to "mongodb://server/?tls=true" fails because the certificate is only valid for "localhost", 127.0.0.1, and ::1.
The culprit appears to be DRIVERS-3119.
- is caused by
-
DRIVERS-3119 Add options to provide certificate and CA files
-
- Closed
-
- related to
-
PYTHON-5414 module service_identity has no attribute SICertificateError
-
- In Code Review
-