Skip to content

database connection custom configuration (custom CA) #287

@DanielYaffe

Description

@DanielYaffe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions