Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-10465

Document `tls_verify` setting

    XMLWordPrintable

Details

    Description

      Secure Connections documentation for node.js SDK version 4.1 mentions the following:

      Setting TLSSkipVerify is a workaround if you need to use ` couchbases://localhost`.

      However, `TLSSkipVerify` is not available in the API Reference. We should mention about the "tls_verify" setting here instead which has possible values of "none" and "peer".

      We should also provide an example on how to use it. For example:

      const cluster = await couchbase.connect('couchbases://10.112.210.101?tls_verify=none', {
          username: 'username',
          password: 'password',
          security: {
             trustStorePath: 'certificate'
          }
        })
      

      Attachments

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

        Activity

          People

            richard.smedley Richard Smedley
            yuvraj.kanwar Yuvraj Kanwar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty