Description
To support TLS between Sync Gateway and Couchbase Server, Sync Gateway needs the ability to customize BucketDataSourceOptions.Connect/ConnectTLS, and also provide a custom auth.
Extending the existing model used for cbauth doesn't appear to be an option, as this updates a global var (currSecuritySetting), whereas Sync Gateway may be connecting to multiple clusters with different security settings.
Attachments
Issue Links
- blocks
-
CBG-564 SGW fails with xattrs and TLS enabled
- Closed
For Gerrit Dashboard: MB-36640 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
116945,5 | MB-36640: Support TLSConfig callback function for custom tls.Config | master | go-couchbase | Status: MERGED | +2 | +1 |
116947,2 | MB-36640: UpdateSecurityConfig is now a BucketDataSourceOptions' API | mad-hatter | cbgt | Status: ABANDONED | -1 | 0 |
116948,8 | MB-36640: Allow client to update go-couchbase's BucketDataSourceOptions | master | cbgt | Status: MERGED | +2 | +1 |
117083,3 | MB-36640: cbdatasource encrypts for local comms if requested | master | go-couchbase | Status: MERGED | +2 | +1 |