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.

Table 1. Available URIs
URI Routing Description

neo4j

Yes

Unsecured

neo4j+s

Yes

Secured with full certificate

neo4j+ssc

Yes

Secured with self-signed certificate

bolt

No

Unsecured

bolt+s

No

Secured with full certificate

bolt+ssc

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.