PROBLEMS
Neo4j on localhost with bolt protocol not starting.
SSL problem:
Error message: "No SSL policy has been configured for Bolt server"
=============================
Status:
[etienne-desktop neo4j]# systemctl start neo4j
[etienne-desktop neo4j]# systemctl status neo4j
β neo4j.service - Neo4j
Loaded: loaded (/usr/lib/systemd/system/neo4j.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-12-08 17:12:02 CET; 6s ago
Process: 1326205 ExecStart=/usr/bin/neo4j start (code=exited, status=0/SUCCESS)
Main PID: 1326259 (code=exited, status=1/FAILURE)
Dec 08 17:11:58 etienne-desktop neo4j[1326252]: data: /var/lib/neo4j/data
Dec 08 17:11:58 etienne-desktop neo4j[1326252]: certificates: /etc/neo4j/certificates
Dec 08 17:11:58 etienne-desktop neo4j[1326252]: run: /run/neo4j
Dec 08 17:11:58 etienne-desktop neo4j[1326205]: Starting Neo4j.
Dec 08 17:11:58 etienne-desktop neo4j[1326205]: Started neo4j (pid 1326259). It is available at http://localhost:7474/
Dec 08 17:11:58 etienne-desktop neo4j[1326205]: There may be a short delay until the server is ready.
Dec 08 17:11:58 etienne-desktop neo4j[1326205]: See /var/log/neo4j/neo4j.log for current status.
Dec 08 17:11:58 etienne-desktop systemd[1]: Started Neo4j.
Dec 08 17:12:02 etienne-desktop systemd[1]: neo4j.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 17:12:02 etienne-desktop systemd[1]: neo4j.service: Failed with result 'exit-code'.
Minimal settings:
A certificate for bolt should be created:
" dbms.ssl.policy.bolt.allow_key_generation=true "
Trust everyone:
" dbms.ssl.policy.bolt.trust_all=true "
According to a warnig " dbms.ssl.policy.bolt.allow_key_generation " seems to be deprecated. The I did set certificates:
neo4j-home> ls certificates/bolt ie in " /etc/neo4j/certificates "
-r-------- ... private.key
-rw-r--r-- ... public.crt
drwxr-xr-x ... revoked
drwxr-xr-x ... trusted
GPG generation on 2020-12-08:
private.key = " 724186E93EF344AE "
public.crt = " FB4179C4F3D72FD883D107AE724186E93EF344AE "
rsa3072 2020-12-08 [SC] [expires: 2022-12-08]
CONFIGURATION
===========
dbms.connectors.default_advertised_address=localhost
dbms.connector.bolt.enabled=true
dbms.connector.bolt.tls_level=OPTIONAL
dbms.connector.bolt.listen_address=:7687
dbms.ssl.policy.bolt.base_directory=certificates/bolt
dbms.ssl.policy.bolt.allow_key_generation=true
dbms.ssl.policy.bolt.trust_all=true
dbms.ssl.policy.bolt.private_key=/etc/neo4j/certificates/private.key
dbms.ssl.policy.bolt.public_certificate=/etc/neo4j/certificates/public.crt
dbms.ssl.policy.bolt.trusted_dir=/etc/neo4j/certificates/trusted
dbms.tx_log.rotation.retention_policy=1 days
dbms.jvm.additional=-XX:+UseG1GC
dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow
dbms.jvm.additional=-XX:+AlwaysPreTouch
dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions
dbms.jvm.additional=-XX:+TrustFinalNonStaticFields
dbms.jvm.additional=-XX:+DisableExplicitGC
dbms.windows_service_name=neo4j
dbms.jvm.additional=-Dunsupported.dbms.udc.source=tarball
LOG
=====
2020-12-08 15:48:50.619+0000 INFO Neo4j Server shutdown initiated by request
2020-12-08 16:11:59.160+0000 WARN Setting dbms.ssl.policy.bolt.allow_key_generation is removed. A valid key and certificate are required to be present in the key and certificate path configured in this ssl policy.
2020-12-08 16:11:59.164+0000 INFO Note that since you did not explicitly set the port in dbms.connector.bolt.advertised_address Neo4j automatically set it to 7687 to match dbms.connector.bolt.listen_address. This behavior may change in the future and we recommend you to explicitly set it.
2020-12-08 16:11:59.165+0000 WARN Use of deprecated setting dbms.connectors.default_advertised_address. It is replaced by dbms.default_advertised_address
2020-12-08 16:11:59.165+0000 WARN Use of deprecated setting dbms.directories.certificates. Legacy ssl policy is no longer supported.
2020-12-08 16:11:59.173+0000 INFO ======== Neo4j 4.0.4 ========
2020-12-08 16:11:59.179+0000 INFO Starting...
2020-12-08 16:12:02.335+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@22a6e998' was successfully initialized, but failed to start. Please see the attached cause exception "No SSL policy has been configured for Bolt server". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@22a6e998' was successfully initialized, but failed to start. Please see the attached cause exception "No SSL policy has been configured for Bolt server".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@22a6e998' was successfully initialized, but failed to start. Please see the attached cause exception "No SSL policy has been configured for Bolt server".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:45)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:164)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:114)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:89)
at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:35)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabaseService@22a6e998' was successfully initialized, but failed to start. Please see the attached cause exception "No SSL policy has been configured for Bolt server".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:465)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:157)
... 3 more
.....................................................
Caused by: java.lang.RuntimeException: Failed to initialize SSL encryption support, which is required to start this connector. Error was: No SSL policy has been configured for Bolt server
at org.neo4j.bolt.BoltServer.createSslContext(BoltServer.java:212)
at org.neo4j.bolt.BoltServer.createProtocolInitializer(BoltServer.java:176)
at org.neo4j.bolt.BoltServer.init(BoltServer.java:126)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405)
... 12 more
Caused by: java.lang.IllegalArgumentException: No SSL policy has been configured for Bolt server
at org.neo4j.bolt.BoltServer.createSslContext(BoltServer.java:205)
... 15 more
2020-12-08 16:12:02.336+0000 INFO Neo4j Server shutdown initiated by request
DEBUG
======
2020-12-08 16:11:59.881+0000 WARN [o.n.k.i.JvmChecker] The dbms.memory.heap.max_size setting has not been configured. It is recommended that this setting is always explicitly configured, to ensure the system has a balanced configuration. Until then, a JVM computed heuristic of 1807745024 bytes is used instead. Run `neo4j-admin memrec` for memory configuration suggestions.
2020-12-08 16:11:59.881+0000 WARN [o.n.k.i.JvmChecker] The dbms.memory.heap.initial_size setting has not been configured. It is recommended that this setting is always explicitly configured, to ensure the system has a balanced configuration. Until then, a JVM computed heuristic of 113246208 bytes is used instead. Run `neo4j-admin memrec` for memory configuration suggestions.
2020-12-08 16:11:59.912+0000 WARN [o.n.i.p.PageCache] The dbms.memory.pagecache.size setting has not been configured. It is recommended that this setting is always explicitly configured, to ensure the system has a balanced configuration. Until then, a computed heuristic value of 2708105216 bytes will be used instead. Run `neo4j-admin memrec` for memory configuration suggestions.
2020-12-08 16:11:59.948+0000 INFO [o.n.i.d.DiagnosticsManager] ********************************************************************************
2020-12-08 16:11:59.949+0000 INFO [o.n.i.d.DiagnosticsManager] [ System diagnostics ]
2020-12-08 16:11:59.949+0000 INFO [o.n.i.d.DiagnosticsManager] ********************************************************************************
2020-12-08 16:11:59.953+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.953+0000 INFO [o.n.i.d.DiagnosticsManager] [ System memory information ]
2020-12-08 16:11:59.953+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.957+0000 INFO [o.n.i.d.DiagnosticsManager] Total Physical memory: 6.728GiB
2020-12-08 16:11:59.958+0000 INFO [o.n.i.d.DiagnosticsManager] Free Physical memory: 1014MiB
2020-12-08 16:11:59.958+0000 INFO [o.n.i.d.DiagnosticsManager] Committed virtual memory: 4.542GiB
2020-12-08 16:11:59.963+0000 INFO [o.n.i.d.DiagnosticsManager] Total swap space: 0B
2020-12-08 16:11:59.964+0000 INFO [o.n.i.d.DiagnosticsManager] Free swap space: 0B
2020-12-08 16:11:59.964+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:11:59.964+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.965+0000 INFO [o.n.i.d.DiagnosticsManager] [ JVM memory information ]
2020-12-08 16:11:59.965+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.966+0000 INFO [o.n.i.d.DiagnosticsManager] Free memory: 81.92MiB
2020-12-08 16:11:59.967+0000 INFO [o.n.i.d.DiagnosticsManager] Total memory: 108.0MiB
2020-12-08 16:11:59.967+0000 INFO [o.n.i.d.DiagnosticsManager] Max memory: 1.684GiB
2020-12-08 16:11:59.978+0000 INFO [o.n.i.d.DiagnosticsManager] Garbage Collector: G1 Young Generation: [G1 Eden Space, G1 Survivor Space, G1 Old Gen]
2020-12-08 16:11:59.978+0000 INFO [o.n.i.d.DiagnosticsManager] Garbage Collector: G1 Old Generation: [G1 Eden Space, G1 Survivor Space, G1 Old Gen]
2020-12-08 16:11:59.980+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: CodeHeap 'non-nmethods' (Non-heap memory): committed=2.438MiB, used=1.098MiB, max=5.563MiB, threshold=0B
2020-12-08 16:11:59.981+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: Metaspace (Non-heap memory): committed=20.13MiB, used=19.52MiB, max=-1B, threshold=0B
2020-12-08 16:11:59.982+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: CodeHeap 'profiled nmethods' (Non-heap memory): committed=2.813MiB, used=2.784MiB, max=117.2MiB, threshold=0B
2020-12-08 16:11:59.983+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: Compressed Class Space (Non-heap memory): committed=2.125MiB, used=1.917MiB, max=1024MiB, threshold=0B
2020-12-08 16:11:59.984+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: G1 Eden Space (Heap memory): committed=29.00MiB, used=10.00MiB, max=-1B, threshold=?
2020-12-08 16:11:59.985+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: G1 Old Gen (Heap memory): committed=77.00MiB, used=14.08MiB, max=1.684GiB, threshold=0B
2020-12-08 16:11:59.985+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: G1 Survivor Space (Heap memory): committed=2.000MiB, used=2.000MiB, max=-1B, threshold=?
2020-12-08 16:11:59.986+0000 INFO [o.n.i.d.DiagnosticsManager] Memory Pool: CodeHeap 'non-profiled nmethods' (Non-heap memory): committed=2.438MiB, used=552.3KiB, max=117.2MiB, threshold=0B
2020-12-08 16:11:59.986+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:11:59.986+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.987+0000 INFO [o.n.i.d.DiagnosticsManager] [ Operating system information ]
2020-12-08 16:11:59.987+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:11:59.988+0000 INFO [o.n.i.d.DiagnosticsManager] Operating System: Linux; version: 5.9.11-3-MANJARO; arch: amd64; cpus: 4
2020-12-08 16:11:59.992+0000 INFO [o.n.i.d.DiagnosticsManager] Max number of file descriptors: 40000
2020-12-08 16:11:59.993+0000 INFO [o.n.i.d.DiagnosticsManager] Number of open file descriptors: 153
2020-12-08 16:12:00.003+0000 INFO [o.n.i.d.DiagnosticsManager] Process id: 1326259@etienne-desktop
2020-12-08 16:12:00.004+0000 INFO [o.n.i.d.DiagnosticsManager] Byte order: LITTLE_ENDIAN
2020-12-08 16:12:00.035+0000 INFO [o.n.i.d.DiagnosticsManager] Local timezone: Europe/Brussels
2020-12-08 16:12:00.035+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.035+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.035+0000 INFO [o.n.i.d.DiagnosticsManager] [ JVM information ]
2020-12-08 16:12:00.036+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.037+0000 INFO [o.n.i.d.DiagnosticsManager] VM Name: OpenJDK 64-Bit Server VM
2020-12-08 16:12:00.037+0000 INFO [o.n.i.d.DiagnosticsManager] VM Vendor: Oracle Corporation
2020-12-08 16:12:00.038+0000 INFO [o.n.i.d.DiagnosticsManager] VM Version: 11.0.8+10
2020-12-08 16:12:00.039+0000 INFO [o.n.i.d.DiagnosticsManager] JIT compiler: HotSpot 64-Bit Tiered Compilers
2020-12-08 16:12:00.040+0000 INFO [o.n.i.d.DiagnosticsManager] VM Arguments: [-XX:+UseG1GC, -XX:-OmitStackTraceInFastThrow, -XX:+AlwaysPreTouch, -XX:+UnlockExperimentalVMOptions, -XX:+TrustFinalNonStaticFields, -XX:+DisableExplicitGC, -Djdk.tls.ephemeralDHKeySize=2048, -Dunsupported.dbms.udc.source=tarball, -Dfile.encoding=UTF-8]
2020-12-08 16:12:00.040+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.040+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.040+0000 INFO [o.n.i.d.DiagnosticsManager] [ Java classpath ]
2020-12-08 16:12:00.040+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.051+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/plugins
2020-12-08 16:12:00.051+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/lib/neo4j-common-4.0.4.jar
2020-12-08 16:12:00.051+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/lib/neo4j-bolt-4.0.4.jar
..........................................................................................................2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/lib/neo4j-configuration-4.0.4.jar
2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/lib/neo4j-command-line-4.0.4.jar
2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager] [classpath] /usr/share/java/neo4j/lib/jackson-jaxrs-base-2.10.0.jar
2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.073+0000 INFO [o.n.i.d.DiagnosticsManager] [ Library path ]
2020-12-08 16:12:00.074+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.074+0000 INFO [o.n.i.d.DiagnosticsManager] /usr/java/packages/lib
2020-12-08 16:12:00.074+0000 INFO [o.n.i.d.DiagnosticsManager] /usr/lib
2020-12-08 16:12:00.074+0000 INFO [o.n.i.d.DiagnosticsManager] /usr/lib
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager] /usr/lib
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager] /usr/lib
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager] [ System properties ]
2020-12-08 16:12:00.075+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.076+0000 INFO [o.n.i.d.DiagnosticsManager] awt.toolkit = sun.awt.X11.XToolkit
2020-12-08 16:12:00.076+0000 INFO [o.n.i.d.DiagnosticsManager] sun.cpu.isalist =
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.jnu.encoding = UTF-8
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.arch.data.model = 64
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] user.timezone = Europe/Brussels
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.java.launcher = SUN_STANDARD
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] user.country = GB
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.boot.library.path = /usr/lib/jvm/java-11-openjdk/lib
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.java.command = org.neo4j.server.CommunityEntryPoint --home-dir=/usr/share/java/neo4j --config-dir=/etc/neo4j
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] jdk.debug = release
2020-12-08 16:12:00.077+0000 INFO [o.n.i.d.DiagnosticsManager] sun.cpu.endian = little
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] user.home = /var/lib/neo4j
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] user.language = en
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] file.separator = /
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] unsupported.dbms.udc.source = tarball
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] jdk.tls.ephemeralDHKeySize = 2048
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] sun.management.compiler = HotSpot 64-Bit Tiered Compilers
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] user.name = neo4j
2020-12-08 16:12:00.078+0000 INFO [o.n.i.d.DiagnosticsManager] path.separator = :
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] file.encoding = UTF-8
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] user.dir = /
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] sun.os.patch.level = unknown
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] sun.io.unicode.encoding = UnicodeLittle
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] [ (IANA) TimeZone database version ]
2020-12-08 16:12:00.079+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.140+0000 INFO [o.n.i.d.DiagnosticsManager] TimeZone version: 2020a (available for 601 zone identifiers)
2020-12-08 16:12:00.140+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.141+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.141+0000 INFO [o.n.i.d.DiagnosticsManager] [ Network information ]
2020-12-08 16:12:00.141+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.142+0000 INFO [o.n.i.d.DiagnosticsManager] Interface enp3s0:
2020-12-08 16:12:00.143+0000 INFO [o.n.i.d.DiagnosticsManager] address: fe80:0:0:0:e7f3:fc3b:9d27:9147%enp3s0
2020-12-08 16:12:00.143+0000 INFO [o.n.i.d.DiagnosticsManager] address: 2a02:578:470e:1:2d10:84dd:9498:d485%enp3s0
2020-12-08 16:12:00.143+0000 INFO [o.n.i.d.DiagnosticsManager] address: 192.168.160.101
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] Interface lo:
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] address: 0:0:0:0:0:0:0:1%lo
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] address: 127.0.0.1
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] [ Native access information ]
2020-12-08 16:12:00.144+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.241+0000 INFO [o.n.i.d.DiagnosticsManager] Native access details: Linux native access is available.
2020-12-08 16:12:00.241+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.245+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.245+0000 INFO [o.n.i.d.DiagnosticsManager] [ DBMS config ]
2020-12-08 16:12:00.245+0000 INFO [o.n.i.d.DiagnosticsManager] --------------------------------------------------------------------------------
2020-12-08 16:12:00.248+0000 INFO [o.n.i.d.DiagnosticsManager] DBMS provided settings:
2020-12-08 16:12:00.252+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.connector.bolt.enabled=true
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.connector.bolt.listen_address=localhost:7687
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.connector.bolt.tls_level=OPTIONAL
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.default_advertised_address=localhost
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.data=/var/lib/neo4j/data
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.import=/var/lib/neo4j/import
2020-12-08 16:12:00.253+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.lib=/usr/share/java/neo4j/lib
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.logs=/var/log/neo4j
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.neo4j_home=/usr/share/java/neo4j
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.plugins=/usr/share/java/neo4j/plugins
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.directories.run=/run/neo4j
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.jvm.additional=-Dunsupported.dbms.udc.source=tarball
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.ssl.policy.bolt.base_directory=/usr/share/java/neo4j/certificates/bolt
2020-12-08 16:12:00.254+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.ssl.policy.bolt.private_key=/etc/neo4j/certificates/private.key
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.ssl.policy.bolt.public_certificate=/etc/neo4j/certificates/public.crt
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.ssl.policy.bolt.trust_all=true
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.ssl.policy.bolt.trusted_dir=/etc/neo4j/certificates/trusted
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.tx_log.rotation.retention_policy=1 days
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager] dbms.windows_service_name=neo4j
2020-12-08 16:12:00.255+0000 INFO [o.n.i.d.DiagnosticsManager]
2020-12-08 16:12:00.341+0000 INFO [o.n.g.f.EditionLocksFactories] Locking implementation 'community' selected.
2020-12-08 16:12:02.206+0000 INFO [o.n.d.d.DefaultDatabaseManager] Creating 'system' database.
Can you share more details?
Did you perhaps upgrade an old version of Neo4j without updating the config file to the new config files?
I guess because we don't support self signed certificates anymore this might fail now.
I suggest to install a let's encrypt certificate as explained here:
Wait a minute... neo 4.x does NOT support self signed certs for the bolt connection any more?!
For those of use using IP only for internal servers, LetsEncrypt will not issue bare IP certificates. What are we supposed to do now?!
1 Like
It does but doesn't generate them automatically anymore.
Afaik you can generate them yourself if you want an encrypted connection.
And then use neo4j+ssc
or bolt+ssc
as protocol.