Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-42005

Unable to create remote links with full encryption from WebUI

    XMLWordPrintable

    Details

      Description

      Creating link with full encryption fail with error -

      Error creating link: CBAS0065: Only one of certificate-based and credential-based authentication can be specified
      

      Scenario 1 -
      Create link with full encryption with username, password and root cert.

      Scenario 2 -
      Create link with full encryption with root cert, client cert and client key.

      Also client key field is missing on WebUI for creating remote links.

        Attachments

          Issue Links

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

            Activity

            umang.agrawal Umang created issue -
            umang.agrawal Umang made changes -
            Field Original Value New Value
            Link to Log File, atop/blg, CBCollectInfo, Core dump https://cb-jira.s3.us-east-2.amazonaws.com/logs/MB42005/
            umang.agrawal Umang made changes -
            Description Creating link with full encryption fail with error -
            {code:java}
            Error creating link: CBAS0065: Only one of certificate-based and credential-based authentication can be specified
            {code}

            Scenario 1 -
            Create link with full encryption with username, password and root cert.

            Scenario 2 -
            Create link with full encryption with root cert, client cert and client key.
            Creating link with full encryption fail with error -
            {code:java}
            Error creating link: CBAS0065: Only one of certificate-based and credential-based authentication can be specified
            {code}

            Scenario 1 -
            Create link with full encryption with username, password and root cert.

            Scenario 2 -
            Create link with full encryption with root cert, client cert and client key.

            Also client key field is missing on WebUI for creating remote links.
            till Till Westmann made changes -
            Labels UI analytics UI analytics triaged
            till Till Westmann made changes -
            Link This issue blocks MB-40280 [ MB-40280 ]
            till Till Westmann made changes -
            Link This issue relates to MB-41992 [ MB-41992 ]
            till Till Westmann made changes -
            Rank Ranked higher
            till Till Westmann made changes -
            Sprint CX Sprint 221 [ 1271 ]
            till Till Westmann made changes -
            Rank Ranked lower
            till Till Westmann made changes -
            Link This issue blocks MB-40528 [ MB-40528 ]
            till Till Westmann made changes -
            Labels UI analytics triaged UI analytics approved-for-6.6.1 triaged
            till Till Westmann made changes -
            Assignee Till Westmann [ till ] Hussain Towaileb [ hussain.towaileb ]
            Hide
            Hussain.Towaileb Hussain Towaileb added a comment -

            This is caused because the UI submits the fields with empty strings if they are left empty, and the check considers the value as passed. The fields need to be completely omitted from the request.

            Show
            Hussain.Towaileb Hussain Towaileb added a comment - This is caused because the UI submits the fields with empty strings if they are left empty, and the check considers the value as passed. The fields need to be completely omitted from the request.
            Hussain.Towaileb Hussain Towaileb made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Rank Ranked higher
            Hussain.Towaileb Hussain Towaileb made changes -
            Assignee Hussain Towaileb [ hussain.towaileb ] Eben Haber [ eben ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Assignee Eben Haber [ eben ] Hussain Towaileb [ hussain.towaileb ]
            till Till Westmann made changes -
            Link This issue is duplicated by MB-42174 [ MB-42174 ]
            Hussain.Towaileb Hussain Towaileb made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.1-9134 contains cbas-core commit e72de3d with commit message:
            MB-42005: LinkServlet: Treat empty string parameters as not provided

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.1-9134 contains cbas-core commit e72de3d with commit message: MB-42005 : LinkServlet: Treat empty string parameters as not provided
            Hide
            umang.agrawal Umang added a comment -

            Verified with couchbase server build 6.6.1-9143

            Show
            umang.agrawal Umang added a comment - Verified with couchbase server build 6.6.1-9143
            umang.agrawal Umang made changes -
            Assignee Hussain Towaileb [ hussain.towaileb ] Umang [ JIRAUSER24787 ]
            Status Resolved [ 5 ] Closed [ 6 ]
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-3545 contains cbas-core commit e72de3d with commit message:
            MB-42005: LinkServlet: Treat empty string parameters as not provided

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3545 contains cbas-core commit e72de3d with commit message: MB-42005 : LinkServlet: Treat empty string parameters as not provided
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.2-9599 contains cbas-core commit e72de3d with commit message:
            MB-42005: LinkServlet: Treat empty string parameters as not provided

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.2-9599 contains cbas-core commit e72de3d with commit message: MB-42005 : LinkServlet: Treat empty string parameters as not provided

              People

              Assignee:
              umang.agrawal Umang
              Reporter:
              umang.agrawal Umang
              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