[GODRIVER-687] Support specifying the SSL SNI hostname for a connection Created: 11/Dec/18 Updated: 11/Dec/18 Resolved: 11/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Timothy Olsen (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
The automation agent needs the ability to specify an SSL SNI hostname that is different than the hostname in the mongo connection string. We currently do this in mgo by using a custom mgo.DialInfo which has a custom DialServer which calls tls.DialWithDialer() with a tls.Config which specifies ServerName |
| Comments |
| Comment by Timothy Olsen (Inactive) [ 11/Dec/18 ] |
|
SetDialer() works for me. Thanks Jeff! |
| Comment by Timothy Olsen (Inactive) [ 11/Dec/18 ] |
|
Jeff has pointed me to ClientOptions.SetDialer(). I'll try that out. If it works we can close this ticket |