fboucquez / symbol-bootstrap

A tool that allows you to quickly configure and setup Symbol testnets and nodes.
Apache License 2.0
47 stars 28 forks source link

bootstrap should fail to start if the node cert is expired #395

Open Wayonb opened 1 year ago

Wayonb commented 1 year ago

Describe the bug Symbol bootstrap should fail to start if the node cert is expired

To Reproduce To reproduce the behavior:

  1. create an expired node cert
  2. start the bootstrap

Expected behavior If the node cert is expired it should be an error and failed to start.

Logs

2023-01-19T20:08:29.732Z info     User for docker resolved: 1000:1000
2023-01-19T20:08:29.732Z info     Running image using Exec: symbolplatform/symbol-server:gcc-1.0.3.5 openssl x509 -enddate -noout -in node.crt.pem -checkend 2592000
2023-01-19T20:08:51.776Z warn     The node.crt.pem certificate for node node will expire in less than 30 days on Nov 22 01:32:41 2022 GMT. You need to renew it.
2023-01-19T20:08:51.777Z info     Getting nodes information from https://symbol.services/nodes?limit=50
2023-01-19T20:08:52.547Z info     Generating node server configuration
2023-01-19T20:08:52.703Z info     Generating broker broker configuration
2023-01-19T20:08:52.808Z info     Node node is not voting.
2023-01-19T20:08:52.845Z info     Upgrading genesis on upgrade!
ricewang666 commented 1 year ago

I encountered the same problem, did you solve it?