Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database connection custom configuration (custom CA) #287

Open
DanielYaffe opened this issue Nov 12, 2024 · 0 comments
Open

database connection custom configuration (custom CA) #287

DanielYaffe opened this issue Nov 12, 2024 · 0 comments

Comments

@DanielYaffe
Copy link

Hi i am having trouble connecting to my database
my database uses a custom certificate that is not trusted by default
in my application my driver connection is set up like this

import {driver,auth} from 'neo4j-driver';

const connection = driver(url,auth.basic(username,password),
{
encrypted: 'ENCRYPTION_ON',
trust:'TRUST_CUSTOM_CA_SIGNED_CERTIFICATES',
trustedCertificates: [path.resolve('ca','ca.crt')]
})

is support for custom config coming or already available and I haven't found it

much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant