Description
When the couchbases protocol is used (and therefore ssl enabled) alongside PasswordAuthenticator and a root CA then we cause a panic within the TLS library. This is because we always provide a GetCertificate callback on our tls Config and if provided then the library expects that to return a certificate or an error but we return both as nil.
Attachments
For Gerrit Dashboard: GOCBC-853 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
125039,3 | GOCBC-853: Return empty certificate if authenticator returns nil | master | gocbcore | Status: MERGED | +2 | +1 |
125413,2 | GOCBC-853: Return empty certificate if authenticator returns nil | master | gocbcore | Status: MERGED | +2 | +1 |
138470,4 | Update agent_diag.go | master | gocbcore | Status: ABANDONED | -1 | 0 |