Open newonexd opened 4 years ago
peer channel update -f org3_update_in_envelope.pb -c $CHANNEL_NAME -o orderer.example.com:7050 --tls --cafile $ORDERER_CA 上一篇文章没有评论区。执行这一句报错 Error: flag needs an argument: --cafile
@a495257982 $ORDERER_CA 是个环境变量,要提前配置好
orderer节点报错:
orderer.example.com | 2020-07-30 07:07:21.076 UTC [core.comm] ServerHandshake -> ERRO 012 TLS handshake failed with error remote error: tls: bad certificate server=Orderer remoteaddress=192.168.133.112:59486
peer节点报错
peer0.org1.example.com | 2020-07-30 07:07:15.068 UTC [ConnProducer] NewConnection -> ERRO 038 Failed connecting to {orderer.example.com:7050 [OrdererMSP]} , error: context deadline exceeded
这是什么原因?
orderer节点报错:
orderer.example.com | 2020-07-30 07:07:21.076 UTC [core.comm] ServerHandshake -> ERRO 012 TLS handshake failed with error remote error: tls: bad certificate server=Orderer remoteaddress=192.168.133.112:59486
peer节点报错
peer0.org1.example.com | 2020-07-30 07:07:15.068 UTC [ConnProducer] NewConnection -> ERRO 038 Failed connecting to {orderer.example.com:7050 [OrdererMSP]} , error: context deadline exceeded
这是什么原因?
你TLS证书配置的有问题
https://newonexd.github.io/2019/11/23/blog/fabric/Fabric1.4%E5%A4%9A%E6%9C%BA%E9%83%A8%E7%BD%B2/