File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
driver/src/main/java/org/neo4j/driver Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -473,15 +473,15 @@ public ConfigBuilder withoutEncryption()
473
473
}
474
474
475
475
/**
476
- * Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
477
- * This defaults to {@link TrustStrategy#trustSystemCertificates()}.
478
- * See {@link TrustStrategy#trustCustomCertificateSignedBy(File)} for using certificate signatures instead to verify
479
- * trust.
476
+ * Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to. This defaults to {@link
477
+ * TrustStrategy#trustSystemCertificates()}. See {@link TrustStrategy#trustCustomCertificateSignedBy(File)} for using certificate signatures instead to
478
+ * verify trust.
480
479
* <p>
481
- * This is an important setting to understand, because unless we know that the remote server we have an encrypted connection to
482
- * is really Neo4j, there is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
480
+ * This is an important setting to understand, because unless we know that the remote server we have an encrypted connection to is really Neo4j, there
481
+ * is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
483
482
* <p>
484
- * For this reason, there is no option to disable trust verification, if you find this cumbersome you should disable encryption using
483
+ * For this reason, there is no option to disable trust verification. However, it is possible to turn off encryption using the {@link
484
+ * ConfigBuilder#withoutEncryption()} option.
485
485
*
486
486
* @param trustStrategy TLS authentication strategy
487
487
* @return this builder
You can’t perform that action at this time.
0 commit comments