fabric : orderer启动失败
报错
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")
截图
导致原因:
将服务都停了后,又重复执行了证书生成脚本和创世区块生成命令导致。
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
生产环境请不要多次执行上面两命令。
测试环境解决办法: 删除证书 和 创世区块文件,重新生成,再启动。