Details
-
Bug
-
Resolution: Unresolved
-
Test Blocker
-
None
Description
In the secure connections path, after that line:
The next step is to enable encryption and pass it the path to the certificate file.
there is a missing code example (as exist in the Java SDK)
https://docs.couchbase.com/java-sdk/current/howtos/managing-connections.html#ssl
ClusterEnvironment env = ClusterEnvironment.builder()
|
.securityConfig(SecurityConfig.enableTls(true).trustCertificate(Paths.get("/path/to/cluster.cert"))).build();
|
Reporter: Roi Katz
E-mail: roi.katz@couchbase.com