[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:
Depends

 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

Generated at Thu Feb 08 08:34:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.