I recently tried to run Neo4j as a console, which worked fine back in March of 2023, but now in November of 2023 it gets this error when I run bin\neo4j console --verbose:
File C:\neo4j\bin\neo4j.ps1 cannot be loaded. A required
certificate is not within its validity period when verifying against the
current system clock or the timestamp in the signed file.
Removing all the neo4j.cer files from the C: drive and overwriting the old neo4j folder with neo4j-community-5.13.0-windows has no effect. Removing the old neo4j folder and replacing it with the appropriately unzipped and renamed neo4j-community-5.13.0-windows also has no effect.
I encountered the same problem. It is the 'neo4j' certificate in the root folder, looking at it's information (unfortunately in German) it expired on 13th of November:
I think the package need to be re-issued with a new valid certificate...
A work-around is to set the Windows time and date before the expiration date of the certificate and start the server. When it's running the time and date can be set to actual ones again.
I have re-signed and re-uploaded neo4js 4.4.27, 4.4.28, 5.13.0 and 5.14.0.
You will need to re-download and unzip the package to get the updated powershell scripts.