Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1643

Add additional context for gocb errors when using self-signed cert

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 81
    • 5

    Description

      When using self-signed cert but not setting tls_skip_verify, SG will retry the connection, logging a warning like:

      2021-08-20T13:26:33.888-07:00 [WRN] gocb: Pipeline Client 0xc00010e6c0 failed to bootstrap: x509: certificate signed by unknown authority -- base.GoCBCoreLogger.Log() at logger_external.go:792021-08-20T13:26:36.885-07:00 [WRN] gocb: CCCPPOLL: Failed to retrieve CCCP config. x509: certificate signed by unknown authority -- base.GoCBCoreLogger.Log() at logger_external.go:79

      It would be ideal to include information about the tls_skip_verify property here, to help users identify the fix if they are in fact trying to run with a self-signed cert.

       

      Attachments

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

        Activity

          adamf Adam Fraser created issue -
          adamf Adam Fraser made changes -
          Field Original Value New Value
          Rank Ranked higher
          adamf Adam Fraser made changes -
          Assignee The One [ the one ] Jacques Rascagneres [ jacques.rascagneres ]
          adamf Adam Fraser made changes -
          Sprint CBG Sprint 81 [ 1759 ]
          adamf Adam Fraser made changes -
          Rank Ranked lower
          jacques.rascagneres Jacques Rascagneres made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jacques.rascagneres Jacques Rascagneres made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          jacques.rascagneres Jacques Rascagneres made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ben.brooks Ben Brooks made changes -
          Status In Progress [ 3 ] In Review [ 10107 ]
          adamf Adam Fraser made changes -
          Priority Major [ 3 ] Blocker [ 1 ]
          Automated transition triggered when Adam Fraser merged pull request #5207 in GitHub -
          Resolution Fixed [ 1 ]
          Status In Review [ 10107 ] Resolved [ 5 ]
          adamf Adam Fraser made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            jacques.rascagneres Jacques Rascagneres
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty