Skip to content

Commit 8f24cc7

Browse files
DOC-10182 notes
1 parent 02746c3 commit 8f24cc7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

modules/howtos/pages/managing-connections.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,22 @@ E.....@.@.............+....Z.'yZ..#........
279279
====
280280

281281

282+
////
283+
// Do we still need something like this any more?
284+
// From https://developer.couchbase.com/tutorial-nodejs-tls-connection/
285+
// See DOC-10182
286+
287+
In certain situations, such as when using Capella, TLS is required. To circumvent the need to download a certificate, the parameter ?tls_verify=none can be passed with the connection string to ignore mismatched certificates.
288+
289+
const cluster = await couchbase.connect('couchbases://'+ endpoint +'?tls_verify=none', {
290+
username: 'Administrator',
291+
password: 'password'
292+
});
293+
Note that this connection string begins with couchbases://, with the 's' denoting a TLS-secured connection (think https://). This is a great way of connecting for development purposes, but it's important to understand that this method is not recommended for use in production.
294+
////
295+
296+
297+
282298
// DNS-SRV
283299
// == Using DNS SRV records
284300

0 commit comments

Comments
 (0)