Situation:
- Neo4j Server 4.0.3 (Linux), setup to require encryption with bolt
- Connecting from a specific external IP address with Firefox under Windows and Linux via https works, and the browser tells that it is connected to
neo4j://server.domain.name:7687
with username/password. - Connecting from the same IP address under Linux with
cypher-shell --encryption true -u username -p 'password' -a neo4j://server.domain.name:7687
works as well.
This lets me conclude that the certificates and neo4j.conf on the sever are ok.
Problem:
When trying to connect from the Windows Desktop App 1.2.7 with the same credentials from the same IP address to neo4j://server.domain.name:7687
with encryption enabled, it gives immediately the errors:
Unable to establish remote connection: Database is unreachable with specified configuration.
Unable to establish remote connection: ServiceUnavailable
This connection attempt does not leave any traces in debug,log on the server, and the immediacy of the error messages looks like the app hasn't really tried to connect but has locally decided that it doesn't work.
If bolt encryption is changed from REQUIRED to OPTIONAL on the server, then the Desktop App is able to connect (unencrypted).