Hyperledger fabric Hyperledger锚节点无法相互通信,因为tls证书不正确

Hyperledger fabric Hyperledger锚节点无法相互通信,因为tls证书不正确,hyperledger-fabric,hyperledger,Hyperledger Fabric,Hyperledger,我已经创建了一个hyperledger fabric频道,有两个对等组织**(Org1,Org2)**和一个订购者组织(OrderOrg),每个对等组织和三个订购者节点中有一个对等组织(peer0.Org1.com/peer0.Org2.com)[Order0,Order1,Order2]**在订购方组织中。将订购节点和对等节点加入通道并将[peer0.org1.com]和[peer0.org2.com]设置为锚节点后,对等日志中将打印以下错误: peer0.org1.com peer0.org

我已经创建了一个hyperledger fabric频道,有两个对等组织**(Org1,Org2)**和一个订购者组织(OrderOrg),每个对等组织和三个订购者节点中有一个对等组织(peer0.Org1.com/peer0.Org2.com)[Order0,Order1,Order2]**在订购方组织中。将订购节点和对等节点加入通道并将[peer0.org1.com]和[peer0.org2.com]设置为锚节点后,对等日志中将打印以下错误:

peer0.org1.com

peer0.org2.com

2021-04-14 10:53:11.107 CST[gossip.gossip]func1->WARN 12f本地主机深度探测:频道channel1的20000失败:超过上下文截止日期
2021-04-14 10:53:11.108 CST[gossip.discovery]func1->WARN 130无法连接到终结点:localhost:20000,InternalEndpoint:localhost:20000,PKI-ID:,元数据::超过上下文截止日期

我遵循的教程包括:


我通过向组织msp添加一个名为tlscacerts的文件夹解决了这个问题。 注意到在测试网络/测试网络/组织/对等组织/org1.example.com/msp/tlscacerts中/ 将tls根ca证书复制到其中

2021-04-14 10:53:08.108 CST [core.comm] ServerHandshake -> ERRO 1a2 Server TLS handshake failed in 962.117µs with error remote error: tls: bad certificate server=PeerServer remoteaddress=127.0.0.1:58281
2021-04-14 10:53:09.112 CST [core.comm] ServerHandshake -> ERRO 1a3 Server TLS handshake failed in 2.162124ms with error remote error: tls: bad certificate server=PeerServer remoteaddress=127.0.0.1:58283
2021-04-14 10:53:10.836 CST [core.comm] ServerHandshake -> ERRO 1a4 Server TLS handshake failed in 1.629684ms with error remote error: tls: bad certificate server=PeerServer remote address=127.0.0.1:58285
2021-04-14 10:53:11.107 CST [gossip.gossip] func1 -> WARN 12f Deep probe of localhost:20000 for channel channel1 failed: context deadline exceeded
2021-04-14 10:53:11.108 CST [gossip.discovery] func1 -> WARN 130 Could not connect to Endpoint: localhost:20000, InternalEndpoint: localhost:20000, PKI-ID: <nil>, Metadata:  : context deadline exceeded