[JAVA-4915] Can't turn TLS off in connection string if enabled in TXT record Created: 23/Mar/23 Updated: 28/Oct/23 Resolved: 02/Aug/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Connection String |
| Affects Version/s: | None |
| Fix Version/s: | 4.11.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes: | Not Needed |
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
A mongodb+srv connection string with tls=false query parameter throws an exception:
Expected results: it should be possible to disable tls this way. Workaround: use ssl=false instead Note that mongodb+srv defaults to enabling TLS. |
| Comments |
| Comment by Jeffrey Yemin [ 02/Aug/23 ] |
|
Not planning to backport this one. |
| Comment by Githook User [ 02/Aug/23 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Allow tls=false override with mongodb+srv protocol (#1165)
|