Document ClusterOptions.WithCertificateFactory() does not apply to Server Certificate Validation

Description

If the user adds a cert to their local store or specifies their own custom CertificateFactory, those certs do not get used in the RemoteCertificateCallback for either KV or Query.  (They do get used as client certificates to validate the client)

Instead, the user must either a) specify Kv/QueryIgnoreCertificateNameMismatch or b) override the callback methods themselves.

Add documentation to https://docs.couchbase.com/dotnet-sdk/current/howtos/managing-connections.html to indicate

 

  1. IgnoreCertificateNameMismatch is convenience for development only

  2. If RemoteCertificateCallback is set, then IgnoreCertificateNameMismatch has no effect

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Jeffry Morris April 27, 2022 at 11:15 PM

Moving this as its really not tied to a release and so that we can release 3.3.0.

Richard Ponton April 13, 2022 at 4:00 PM

This will probably be addressed with documentation.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Story Points

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 13, 2022 at 1:24 AM
Updated July 11, 2022 at 6:11 PM
Resolved July 11, 2022 at 6:11 PM
Instabug