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

Copying and pasting certificate from UI does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • UI
    • Untriaged
    • Yes

    Description

      When creating SSL enabled remote cluster reference from UI, one needs to copy the certificate of target cluster, and paste it into the certificate field of the remote cluster reference. This used to work in sherlock but stopped working in watson. The pasted certificated was rejected as invalid:

      err=certificate must be a single, PEM-encoded x509 certificate and nothing more (failed to parse given certificate)

      Inspection of the certificate copied from target revealed that it somehow contained spaces. I replaced all spaces with new line, "\n", and things worked afterward.

      Not sure if this is an issue with ns_server or UI. Please re-assign if needed.

      Attachments

        For Gerrit Dashboard: MB-19289
        # Subject Branch Project Status CR V

        Activity

          People

            pavel Pavel Blagodov
            yu Yu Sui (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty