报错

Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config: setting up the MSP manager failed: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.tbc20200721.vbaas.com")

截图
fabric : orderer启动失败

导致原因:
将服务都停了后,又重复执行了证书生成脚本和创世区块生成命令导致。

cryptogen generate --config=${NETWORKPATH}/${NETWORKNAME}/crypto-config.yaml
configtxgen -profile SampleMultiNodeEtcdRaft -channelID byfn-sys-channel -configPath ${NETWORKPATH}/${NETWORKNAME} -outputBlock ${NETWORKPATH}/${NETWORKNAME}/channel-artifacts/genesis.block

生产环境请不要多次执行上面两命令。

测试环境解决办法: 删除证书 和 创世区块文件,重新生成,再启动。

相关文章:

  • 2021-07-30
  • 2021-12-27
  • 2021-10-18
  • 2021-05-14
  • 2021-10-18
  • 2021-08-14
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2021-12-10
  • 2021-11-02
  • 2021-11-24
  • 2022-01-23
  • 2021-04-24
相关资源
相似解决方案