использование tls cert и создание канала не удалось - PullRequest
0 голосов
/ 12 ноября 2018

Я использую fabric-ca, чтобы сгенерировать tls cers и назначить orderer и peer. Но когда я создаю канал, появляется эта ошибка:

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"}

Я хочу знать, почему и как я могу это решить.Спасибо.

...