Description
If UseSsl is enabled, the client will try to use the Uri.Host value to Authenticate which results in a SslPolicyErrors.RemoteCertificateNameMismatch error. Instead, pass the IP value of EndPoint which correctly validates.
Attachments
For Gerrit Dashboard: NCBC-1135 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
64759,2 | NCBC-1135: Use Endpoint instead of Uri for SslStream.Authenticate | master | couchbase-net-client | Status: MERGED | +2 | +1 |
75987,2 | NCBC-1368: Client cannot authenticate FQDN when UseSSL is enabled | master | couchbase-net-client | Status: MERGED | +2 | +1 |