Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
DOC-2020-S23-Nov29, DOC-2020-S24-Dec13
-
1
Description
Referring to this doc:
https://docs.couchbase.com/nodejs-sdk/current/howtos/managing-connections.html#ssl
It shows this code example:
const cluster = await couchbase.connect("couchbases://localhost", { |
trustStorePath: "/path/to/ca/certificates.pem", |
});
|
does not work. You still need to specify credentials for a user with appropriate permissions on the bucket.
This is how I got it working:
const cluster = await couchbase.connect("couchbases://localhost", { |
trustStorePath: "/tmp/ca.pem", |
username: "rbac", |
password: "password" |
});
|