Commit bd13a2b
committed
Fix TLS tests in Node
Couple TLS tests got broken when executed against 3.1 neo4j database,
which generates self-signed certificate for default listen address in
neo4j-server. Default listen address has been changed from IPV4
localhost to IPv6 localhost '::' to verify IPv6 support. This change
made 3.1 database generate self-signed certificate with '::' hostname.
Tests however tried to connect to regular 'bolt://localhost' and
hostname validation failed because they expected 'localhost' but
received certificate with '::'. Starting from 3.2 neo4j generates
self-signed certificates based on the advertised address, which we
do not change for tests and thus it's always 'localhost'.
This commit fixes the problem by adding an explicit listen address for
http with IPv4 localhost and default port 7474 to the neo4j config file.1 parent 25dc55b commit bd13a2b
File tree
1 file changed
+4
-1
lines changed- test/internal
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments