[CDRIVER-3436] Deprecate mongoc_ssl_opts_t and related functions Created: 20/Nov/19 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
We've deprecated the old SSL URI options in favor of TLS options when implementing the unified URI options spec in Let's consider deprecating use of the mongoc_ssl_opts_t struct as well for the same reason, in favor of having users pass TLS options through the URI. Note, since that struct is public, we cannot change field names or add new fields. In addition, let's update all documentation examples that use mongoc_ssl_opts_t to use the URI options instead. E.g. http://mongoc.org/libmongoc/1.15.0/authentication.html#x-509-certificate-authentication |
| Comments |
| Comment by Kevin Albertson [ 02/Dec/19 ] |
|
Note, before deprecating we need to find another way to pass ca_dir and crl_file, as there is no other way to pass them. Perhaps this could be done through URI setters, like mongoc_uri_set_ca_dir or mongoc_uri_set_crl_file. |