Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1280

Using the CertAuthenticator() for authentication does not work in 3.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 3.0.10, 3.1.3, 3.2.6
    • None
    • None
    • 1

    Description

      Using the CertAuthenticator() for authentication does not work in the 3.x Python SDK.

      There are multiple of issues:

      • The necessary connection string params (keypath, truststorepath) are not translated to the connection string correctly
        • Although the certpath param is added to the connection string
      • If using a CertAuthenticator for authentication, the authentication for the Admin connection is incorrect
      • If using a CertAuthenticator for authentication, authenticating the bucket connection is incorrect

      There looks to be a decent amount of (unnecessary?) complication added to the authentication process from the tickets below. It seems it might be related to the 2.x RFC.

      NOTE: There seems to be enough effort to correct this to prevent this correct in the 3.x version of the SDK. Will assess a bit more, but current though is that the 4.0 will allow for the use of the CertAuthenticator().

      Attachments

        Issue Links

          Activity

            People

              jared.casey Jared Casey
              jared.casey Jared Casey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty