Connect cbq to ssl enabled Couchbase Server

Hi All,

Could someone please share the steps how we can import certificate from CA authority and connect to the same couchbase server which is SSL enabled via cbq utility.


I’d suggest you start here:

There are sections with examples (that you can basically copy-n-paste) on configuring both server and client certificates.

Once configured, the cbq invocation will be something like:

cbq -u user -p pass -cacert /opt/couchbase/servercertfiles/ca.pem\
 -cert /opt/couchbase/servercertfiles/clientcertfiles/default.pem\
 -key /opt/couchbase/servercertfiles/clientcertfiles/default.key\
 -e couchbases://localhost


Thanks @dh for your valuable input.