Currently the only way to actually be able to connect to SSL enabled server is by calling mongoc_client_set_ssl_opts. It is insufficient to enable the ssl=true URI option as in real world scenario you have to configure the client certificate and possibly allowed ca.
Since we can't provide client certificate through the URI, X.509 authentication is therefore not supported through the URI alone, and requires few lines of code to enable.
- is related to
-
CDRIVER-2186 More Connection String Spec updates
- Closed
-
CDRIVER-2187 Key file path, key file password, and certificate authority file path must be escaped in MongoDB URI
- Closed
- related to
-
PHPC-956 Determine how to support TLS options in URI string and array options
- Closed
-
CDRIVER-857 C - Test the support of MONGODB-X509 authentication mechanism
- Closed
-
CDRIVER-2130 Any "ssl" config option in URI should turn on SSL/TLS
- Closed