Security and Authentication
To protect data from unauthorized access, some Couchbase data stores require connections to be authenticated with user credentials
Note:
In this documentation, "SSL" indicates both TLS (Transport Layer Security) and SSL (Secure Sockets Layer). The connector supports industry-standard versions of TLS/SSL.
In Couchbase Server versions 5.0 or later, authentication is mandatory. In earlier versions, authentication is optional depending on the specific server configuration.
The connector provides a mechanism that allows you to authenticate your connection using a JSON file that contains Couchbase user names and passwords. For detailed configuration instructions, see Configuring Authentication.
Additionally, the connector supports SSL connections with one-way authentication. If the server has an SSL-enabled socket, then you can configure the connector to connect to it.
It is recommended that you enable SSL whenever you connect to a server that is configured to support it. SSL encryption protects data and credentials when they are transferred over the network, and provides stronger security than authentication alone. For detailed configuration instructions, see
The SSL version that the connector supports depends on the JVM version that you are using. For information about the SSL versions that are supported by each version of Java, see "Diagnosing TLS, SSL, and HTTPS" on the Java Platform Group Product Management Blog: https://blogs.oracle.com/java-platform-group/entry/diagnosing_tls_ssl_and_https.
Note:
The SSL version used for the connection is the highest version that is supported by both the connector and the server, which is determined at connection time.