Details

    • Technical task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sdk
    • 1

    Description

      User auth beyond the basic - cert auth & anything client-specific for LDAP not covered in the server docs.

      A subpage of Managing Connections.

      Attachments

        Issue Links

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

          Activity

            michael.reiche Michael Reiche added a comment - - edited

            Hi Richard - nodejs has code examples for ssl and cert-auth that I did manage to get working for SDK 3.0.  However - the behavior is somewhat dubious and I've opened https://issues.couchbase.com/browse/JCBC-1593 for that. 

            I also had issues with the x509 certificate generation - where I had to change a line in setup-x509-on-cluster.sh 

            from : 

                authorityKeyIdentifier = keyid=always,issuer=always

            to: 

                authorityKeyIdentifier = keyid,issuer

            Also - when those etc/x509 scripts create config files etc - instead of creating new files, they just append to existing files.

            michael.reiche Michael Reiche added a comment - - edited Hi Richard - nodejs has code examples for ssl and cert-auth that I did manage to get working for SDK 3.0.  However - the behavior is somewhat dubious and I've opened  https://issues.couchbase.com/browse/JCBC-1593  for that.  I also had issues with the x509 certificate generation - where I had to change a line in setup-x509-on-cluster.sh  from :      authorityKeyIdentifier = keyid=always,issuer=always to:      authorityKeyIdentifier = keyid,issuer Also - when those etc/x509 scripts create config files etc - instead of creating new files, they just append to existing files.
            graham.pople Graham Pople added a comment -

            The current server docs do a really good job of creating cluster and client certs.  I think our docs should continue from that basis, rather than using any custom scripts.

            I've provided example code for Java 3.x client cert auth.

            graham.pople Graham Pople added a comment - The current server docs do a really good job of creating cluster and client certs.  I think our docs should continue from that basis, rather than using any custom scripts. I've provided example code for Java 3.x client cert auth.
            richard.smedley Richard Smedley added a comment - https://docs.couchbase.com/scala-sdk/1.0/howtos/sdk-authentication.html

            People

              richard.smedley Richard Smedley
              richard.smedley Richard Smedley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty