Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-08-2020 07:56 PM
Hi All
Just going through an upgrade of Community V3.5 to V4.0
After a couple of false starts - due to a plugin - had success with - Successfully finished upgrade of database
When I now start -
sudo systemctl start neo4j
sudo journalctl -e -u neo4j
I am seeing this error
ERROR Failed to start Neo4j on localhost:7474: HTTPS set to enabled, but no SSL policy provided
Accordng to - https://neo4j.com/docs/operations-manual/4.0/security/ssl-framework/ - to enable ssl policy for https I need to have the following in my neo4j.conf
dbms.ssl.policy.https.enabled=true
As I don't I'm unsure why I am getting this error
Suggestions?
02-08-2020 10:32 PM
Hi pmedlin57, Did you place certificates at certificates/<scope>
and its permission.
02-08-2020 10:43 PM
No
I have not enabled https in my neo4j.conf
02-24-2020 10:02 AM
I ran into this exact error.
As I am just doing some development with Neo4j -- no production side things yet I haven't been using https/ssl. I didn't realize that the v3.5 neo4j.conf
file that I brought over from my v3.5 server to the v4.0 server had dbms.connector.https.enabled=true
set. I'm assuming you checked this, but I didn't and commenting it out solved my problem immediately.
02-09-2020 10:45 PM
I have reverted back to 3.5.14 until this issue can be explained
03-07-2020 11:12 PM
So my confusion was that I used the neo4j.conf file that comes with V4 and made just the change to point to my database and didn't make any change to enable https, just as I had not made any change in V3.5
So as per the install instructions I thought I did not have dbms.connector.https.enabled=true, hence my response above and I clearly did a man-check when I looked
But as wdrosko has pointed out - they are both true in V3.5 and in V4
SO this appears to be an undocumented change betwen V3.5 and V4 - that is -
In V3.5 this
#HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
#dbms.connector.http.listen_address=:7474
#HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
results in the use of http
BUT in V4 it results in the attempt to use HTTPS - and hence this confusion
Thanks wdrosko
Paul
All the sessions of the conference are now available online