couchbase Connect to couchbase over SSL using SDK


In this post I am giving an example on how to connect to Couchbase over SSL/TLS to establish a secure connection to protect data on wire.

Hopefully, you have enabled SSL on Couchbase side. For Information on enabling SSL on Couchbase side you can refer to .

In example, I am setting required cipher suite and enabled protocols.