Additional URI schemes
This section presents additional URI schemes in 4.x.
Since 4.0.1
of the Java and .NET drivers, and 4.0.2
of the JavaScript driver, you are able to configure the encryption and trust settings of the driver directly through the connection URI.
The neo4j+s
and bolt+s
schemes enable encryption and full certificate checks against the system’s local CA store.
The neo4j+ssc
and bolt+ssc
schemes also enable encryption with no certificate checks, typically for
use with self-signed certificates.
URI | Routing | Description |
---|---|---|
|
Yes |
Unsecured |
|
Yes |
Secured with full certificate |
|
Yes |
Secured with self-signed certificate |
|
No |
Unsecured |
|
No |
Secured with full certificate |
|
No |
Secured with self-signed certificate |
Using these new URI schemes is not compatible with configuring encryption and trust with the Configuration API.
Otherwise, this does not effect the behavior of the existing neo4j
and bolt
schemes.
For more information, see Driver Manual → Connection URIs.