[CSHARP-3004] Add TlsInsecure as a synonym for `AllowInsecureTls` Created: 09/Mar/20 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Vincent Kam (Inactive) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The driver currently only supports `tlsInsecure` in the connection string: the equivalent option in MongoClientSettings is `AllowInsecureTls`: we should also support a property called `Tlsinsecure` in `MongoClientSettings`. We may also wish to deprecate `AllowInsecureTls` to encourage users to use the standardized name.
|
| Comments |
| Comment by James Kovacs [ 09/Feb/22 ] |
|
MongoClientSettings.AllowInsecureTls mentions that it sets SslSettings.CheckCertificateRevocation, which is the old name equivalent to TlsInsecure. We should review MongoClientSettings, SslSettings, and connection string parsing to consistently use TlsInsecure and delegate all other variations (marked as deprecated) to it. |