Describe the bug
Symbol bootstrap should fail to start if the node cert is expired
To Reproduce
To reproduce the behavior:
create an expired node cert
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!
Describe the bug Symbol bootstrap should fail to start if the node cert is expired
To Reproduce To reproduce the behavior:
Expected behavior If the node cert is expired it should be an error and failed to start.
Logs