You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update manuals according to Drivers 5.0 changes (#335)
- Added a note about execute_read/execute_write replacing read_transaction/write_transaction, or their language-specific counterparts.
- Made the TrustedCertificates config section language-dependent, and specify the possible values for each language.
- Removed references to 3.x, except minor informative reminders.
- Added note about the exception property CanBeRetried.
- Mention Async Python driver.
Copy file name to clipboardExpand all lines: common-content/modules/ROOT/partials/client-applications.adoc
+6-38
Original file line number
Diff line number
Diff line change
@@ -114,17 +114,7 @@ A connection URI identifies a graph database and how to connect to it.
114
114
115
115
The *_encryption_* and *_trust_* settings provide detail to how that connection should be secured.
116
116
117
-
[CAUTION]
118
-
====
119
-
*There are significant changes to security settings between Neo4j 3.x and Neo4j 4.x*
120
-
121
-
Please consider the information in this section before upgrading from a previous version.
122
-
123
-
The https://neo4j.com/docs/migration-guide/current/[Migration Guide] is also a good source of information about changes in functionality.
124
-
====
125
-
126
117
Starting with *Neo4j 4.0*, client-server communication uses only *_unencrypted local connections by default_*.
127
-
128
118
This is a change from previous versions, which switched on encryption by default, but generated a self-signed certificate out of the box.
129
119
130
120
When a full certificate is installed, and encryption is enabled on the driver, full certificate checks are carried out (refer to link:/docs/operations-manual/5.0/security/ssl-framework[Operations Manual -> SSL framework]).
@@ -141,23 +131,6 @@ To connect to *Neo4j Aura*, driver users must *_enable encryption_* and the comp
141
131
For more information, see xref:client-applications.adoc#driver-configuration-examples[Examples] below.
142
132
====
143
133
144
-
# tag::default-security-changes[]
145
-
146
-
.Changes in default security settings between 3.x and 4.x
Specify how to determine the authenticity of encryption certificates provided by the Neo4j instance that you are connecting to.
1492
-
There are three choices as to which strategy to use:
1493
-
1494
-
* `TRUST_SYSTEM_CA_SIGNED_CERTIFICATES` - Accept any certificate that can be verified against the system store.
1495
-
1496
-
* `TRUST_CUSTOM_CA_SIGNED_CERTIFICATES` - Accept any certificate that can be verified against a custom CA.
1497
-
1498
-
* `TRUST_ALL_CERTIFICATES` - Accept any certificate provided by the server, regardless of CA chain. *We do not recommend using this setting for production environments.*
1464
+
Specify how to determine the authenticity of encryption certificates provided by the Neo4j instance that you are connecting to.
1465
+
If encryption is disabled, this option has no effect.
1499
1466
1500
1467
+
1501
-
*Default:* `TRUST_SYSTEM_CA_SIGNED_CERTIFICATES` (Note - only when encryption is enabled)
The methods `ExecuteRead` and `ExecuteWrite` have replaced `ReadTransaction` and `WriteTransaction`, which are deprecated in version 5.x and will be removed in version 6.0.
The methods `ExecuteReadAsync` and `ExecuteWriteAsync` have replaced `ReadTransactionAsync` and `WriteTransactionAsync`, which are deprecated in version 5.x and will be removed in version 6.0.
The methods `ExecuteRead` and `ExecuteWrite` have replaced `ReadTransaction` and `WriteTransaction`, which are deprecated in version 5.x and will be removed in version 6.0.
0 commit comments