Skip to content

Conversation

renetapopova
Copy link
Collaborator

No description provided.

If you want mutual TLS with self-signed certificates, the server must have the client's certificate in its _trusted_dir_, and the client must have the server's certificate in its _trusted_dir_.
If you use a certificate authority (CA) to signs both the client's and server's certificates, the _trusted_dir_ must contain only the CA or intermediate certificates.

Furthermore, Neo4j does not validate the certificates.

Choose a reason for hiding this comment

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

Sorry, I think we got our wires crossed, we do do certificate validation. When I said we do not validate config, I meant in the sense that SSL config group configs are validated as being a correct config key.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If I understand you correctly, you are saying that we don't validate the SSL configuration itself, so they should make sure that they have used the correct keys and certificates. And you're also saying that we validate the keys and certificates themselves. Does that mean that we don't need the manual step in this section, then https://neo4j.com/docs/operations-manual/current/security/ssl-framework/#_validate_the_key_and_the_certificate?

[NOTE]
====
If the backup client is on a different machine from the Neo4j server, you must install sympathetic SSL certificates and keys on the backup client machine as well, so that the backup client can authenticate the server and vice versa.

Choose a reason for hiding this comment

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

I don't know the correct way phrase this bit, but if we can use a more verbose way of writing this to avoid any ambiguity that "sympathetic" creates.

There are a few ways to configure SSL.

  • You can use the same key pair on both the client and the server if you put the same cert in both, (it needs to be their public cert and trusted cert)
  • You can use CA chains by doing a typical chain of trust with CA
  • You can also have mirrored certs (server trusts the client's cert, client trusts the server's cert)

@neo4j-docops-agent
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-operations-2610.surge.sh

Updated pages:

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

Successfully merging this pull request may close these issues.

4 participants