Hi,
When I try using the Neo4j Js driver to connect to Memgraph, I get the following error message:
*Database configuration Error: *
ailed to connect to server. Please ensure that your database is listening on the correct host and port and that you have compatible encryption settings both on Neo4j server and driver. Note that the default encryption setting has changed in Neo4j 4.0. Caused by: Server certificate is not trusted. If you trust the database you are connecting to, use TRUST_CUSTOM_CA_SIGNED_CERTIFICATES and add the signing certificate, or the server certificate, to the list of certificates trusted by this driver using neo4j.driver(.., { trustedCertificates:['path/to/certificate.crt']}). This is a security measure to protect against man-in-the-middle attacks. If you are just trying Neo4j out and are not concerned about encryption, simply disable it using
encrypted=“ENCRYPTION_OFF”` in the driver options. Socket responded with: DEPTH_ZERO_SELF_SIGNED_CERT
Application will now exit!
I get the same result with both Js drivers v4.0.2 and 4.1.2.
Any suggestions?
Thanks!