-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.0.0
-
Component/s: None
-
None
-
Environment:RS with ssl enabled
It is really frustrating that I can't get SSL to work "out-of-the-box", because it is required to explicitly specify:
mongoc_ssl_opt_t opts = *mongoc_ssl_opt_get_default();
opts.weak_cert_validation = true;
And set those on the client:
mongoc_client_set_ssl_opts(client, &opts);
It should be changed/documented and meaningful error should be reported if something is wrong.
- is related to
-
CDRIVER-2153 mongoc_client_pool_t cannot connect to MongoDB Atlas
- Closed
-
CDRIVER-933 mongoc_ssl_opt_get_default changed in 1.2.0
- Closed
- related to
-
PHPC-2270 Define constants for POSIX features and extensions used by libmongoc 1.24
- Closed