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 @@ -465,15 +465,15 @@ public ConfigBuilder withoutEncryption()
465465 }
466466
467467 /**
468- * Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to.
469- * This defaults to {@link TrustStrategy#trustSystemCertificates()}.
470- * See {@link TrustStrategy#trustCustomCertificateSignedBy(File)} for using certificate signatures instead to verify
471- * trust.
468+ * Specify how to determine the authenticity of an encryption certificate provided by the Neo4j instance we are connecting to. This defaults to {@link
469+ * TrustStrategy#trustSystemCertificates()}. See {@link TrustStrategy#trustCustomCertificateSignedBy(File)} for using certificate signatures instead to
470+ * verify trust.
472471 * <p>
473- * This is an important setting to understand, because unless we know that the remote server we have an encrypted connection to
474- * is really Neo4j, there is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
472+ * 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
473+ * is no point to encrypt at all, since anyone could pretend to be the remote Neo4j instance.
475474 * <p>
476- * For this reason, there is no option to disable trust verification, if you find this cumbersome you should disable encryption using
475+ * For this reason, there is no option to disable trust verification. However, it is possible to turn off encryption using the {@link
476+ * ConfigBuilder#withoutEncryption()} option.
477477 *
478478 * @param trustStrategy TLS authentication strategy
479479 * @return this builder
You can’t perform that action at this time.
0 commit comments