org.neo4j.server.ServerStartupException: IO problem while loading or creating TLS certificates: /opt/neo4j-community-3.0.4/certificates/neo4j.cert (No such file or directory)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by adriens
, 1 year ago
IO problem while loading or creating TLS certificates: /opt/neo4j-community-3.0.4/certificates/neo4j.cert (No such file or directory)
java.io.FileNotFoundException: /opt/neo4j-community-3.0.4/certificates/neo4j.cert (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at java.io.FileWriter.(FileWriter.java:90)
at org.neo4j.bolt.security.ssl.Certificates.writePem(Certificates.java:195)
at org.neo4j.bolt.security.ssl.Certificates.createSelfSignedCertificate(Certificates.java:113)
at org.neo4j.server.AbstractNeoServer.createKeyStore(AbstractNeoServer.java:389)
at org.neo4j.server.AbstractNeoServer.init(AbstractNeoServer.java:173)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:186)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:90)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:67)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:28)

Users with the same issue

95 times, 1 month ago
2 times, 2 months ago
2 times, 3 months ago
6 times, 3 months ago
2 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.