Skip to content

Commit 2dc1668

Browse files
Change the default value of dbms.ssl.policy.*.verify_hostname to true (#2045)
1 parent 2409984 commit 2dc1668

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

modules/ROOT/pages/kubernetes/security.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ neo4j@server-1-0:~/bin$ SHOW SERVERS;
450450
| "dbms.ssl.policy.bolt.tls_versions" | "TLSv1.2" |
451451
| "dbms.ssl.policy.bolt.trust_all" | "false" |
452452
| "dbms.ssl.policy.bolt.trusted_dir" | "/var/lib/neo4j/certificates/bolt/trusted" |
453-
| "dbms.ssl.policy.bolt.verify_hostname" | "false" |
453+
| "dbms.ssl.policy.bolt.verify_hostname" | "true" |
454454
| "dbms.ssl.policy.cluster.base_directory" | "/var/lib/neo4j/certificates/cluster" |
455455
| "dbms.ssl.policy.cluster.ciphers" | "No Value" |
456456
| "dbms.ssl.policy.cluster.client_auth" | "REQUIRE" |
@@ -462,7 +462,7 @@ neo4j@server-1-0:~/bin$ SHOW SERVERS;
462462
| "dbms.ssl.policy.cluster.tls_versions" | "TLSv1.2" |
463463
| "dbms.ssl.policy.cluster.trust_all" | "false" |
464464
| "dbms.ssl.policy.cluster.trusted_dir" | "/var/lib/neo4j/certificates/cluster/trusted" |
465-
| "dbms.ssl.policy.cluster.verify_hostname" | "false" |
465+
| "dbms.ssl.policy.cluster.verify_hostname" | "true" |
466466
| "dbms.ssl.policy.https.base_directory" | "/var/lib/neo4j/certificates/https" |
467467
| "dbms.ssl.policy.https.ciphers" | "No Value" |
468468
| "dbms.ssl.policy.https.client_auth" | "NONE" |
@@ -474,7 +474,7 @@ neo4j@server-1-0:~/bin$ SHOW SERVERS;
474474
| "dbms.ssl.policy.https.tls_versions" | "TLSv1.2" |
475475
| "dbms.ssl.policy.https.trust_all" | "false" |
476476
| "dbms.ssl.policy.https.trusted_dir" | "/var/lib/neo4j/certificates/https/trusted" |
477-
| "dbms.ssl.policy.https.verify_hostname" | "false" |
477+
| "dbms.ssl.policy.https.verify_hostname" | "true" |
478478
+----------------------------------------------------------------------------------------------------+
479479
480480
37 rows

modules/ROOT/pages/security/ssl-framework.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ The SSL policies are configured by assigning values to parameters of the followi
269269
| `trusted_dir` | A directory populated with certificates of trusted parties. | `trusted/`
270270
| `revoked_dir` | A directory populated with certificate revocation lists (CRLs). | `revoked/`
271271
3+^.^| *Advanced*
272-
| `verify_hostname` | Enabling this setting turns on client-side hostname verification.
272+
| `verify_hostname` footnote:[In Neo4j 2025.01, the default value is changed from `false` to `true`.] | Enabling this setting turns on client-side hostname verification.
273273
After receiving the server's public certificate, the client compares the
274274
address it uses against the certificate Common Name (CN) and Subject Alternative
275275
Names (SAN) fields.
276-
If the address does not match those fields, the client disconnects. | `false`
276+
If the address does not match those fields, the client disconnects. | `true`
277277
| `ciphers` | A comma-separated list of ciphers suites allowed during cipher negotiation.
278278
Valid values depend on the current JRE, SSL provider, and TLS version.
279279
For Ciphers supported by the Oracle JRE, see the link:https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html#jsse-cipher-suite-names[Oracle official documentation].

0 commit comments

Comments
 (0)