Skip to content

Conversation

@pontusmelke
Copy link
Contributor

Fixes #105

driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "neo4j"), {
encrypted: true,
trust: "TRUST_SIGNED_CERTIFICATES",
trustedCertificates: ["build/neo4j/certificates/neo4j.cert", "build/neo4j/certificates/neo4j.cert"]
Copy link

@swist swist Aug 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this matters, but you are passing in the same certificate path twice. Also the logic in this PR shouldn't change syntactically, the before/after change code means essentially the same?

Copy link
Contributor Author

@pontusmelke pontusmelke Aug 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was mostly being lazy, I just wanted to test that you can supply multiple certificates, but you're right it does make the test slightly confusing. I'll fix it.

No this PR should not change anything, only fixing the bad usage of map

@pontusmelke pontusmelke force-pushed the 1.0-handle-multiple-ca branch from e9f56a2 to 8cd6c56 Compare August 26, 2016 10:27
@pontusmelke pontusmelke force-pushed the 1.0-handle-multiple-ca branch from 8cd6c56 to adc1727 Compare August 26, 2016 12:34
@oskarhane oskarhane merged commit dcc7184 into neo4j:1.0 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants