neo4j SSL howto

Getting SSL to work with neo4j can be very frustrating. ┬áThe crux of the problem is that their documentation isn’t very robust.

Here’s what they don’t tell you:

Both the cert and the key MUST be in DER format!

example to convert a PEM formatted crt key to a der formatted crt key

openssl x509 -in server.crt -outform der -out server.crt.der
openssl rsa -in server.key -outform der -out server.key.der

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.