Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3182

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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.3.3
    • 3.2.9
    • None
    • 1
    • SDK20: Pathfinding + Wrappers

    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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty