使用tls cert和创建频道失败

时间:2018-11-12 09:28:07

标签: hyperledger-fabric-ca

我使用fabric-ca生成tls cers并分配给订购者和对等方。但是,当我创建频道时,会出现此错误:

Error: failed to create deliver client: orderer client failed to 
connect to orderer.example.com:7050: failed to create new connection: 
context deadline exceeded

所以我要查找订购者日志,但找不到任何错误。这是我在日志中找到的:

2018-11-12 09:21:37.819 UTC [core/comm] ServerHandshake -> ERRO 0f1 
TLS handshake failed with error remote error: tls: bad certificate 
{"server": "PeerServer", "remote address": "172.18.0.7:50764"}
2018-11-12 09:21:38.137 UTC [gossip/discovery] func1 -> WARN 0f2 Could 
not connect to {peer1.org1.example.com:7051 [] [] 
peer1.org1.example.com:7051 <nil> <nil>} : context deadline exceeded
2018-11-12 09:21:39.530 UTC [core/comm] ServerHandshake -> ERRO 0f3 
TLS handshake failed with error remote error: tls: bad certificate 
{"server": "PeerServer", "remote address": "172.18.0.7:50770"}

我想知道为什么以及如何解决它。谢谢。

0 个答案:

没有答案