symbol-bootstrap icon indicating copy to clipboard operation
symbol-bootstrap copied to clipboard

bootstrap should fail to start if the node cert is expired

Open Wayonb opened this issue 2 years ago • 1 comments

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!

Wayonb avatar Jan 19 '23 20:01 Wayonb

I encountered the same problem, did you solve it?

ricewang666 avatar Jan 22 '23 14:01 ricewang666