安装运行时的根证书错误

时间:2018-02-14 14:27:39

标签: hyperledger-composer

我正在尝试从这里开始的多组织教程:https://hyperledger.github.io/composer/next/tutorials/deploy-to-fabric-multi-org一切正常,直到第11步。运行该步骤时出现以下错误:

我发现之前发布的类似问题已解决:Getting handshake error while creating profile in Local composer-playground

我也从某些人的建议中删除了键中的/ r / n,但我仍然收到错误

$ composer runtime install -c PeerAdmin@byfn-network-org1 -n trade-network

⠹ Installing runtime for business network trade-network. This may take 
a minute...E0214 06:16:49.380034000 140735945052992 
ssl_transport_security.c:584] Could not load any root certificate.
E0214 06:16:49.380074000 140735945052992 ssl_transport_security.c:1297] 
Cannot load server root certificates.
E0214 06:16:49.380108000 140735945052992 security_connector.c:857]     
Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0214 06:16:49.380118000 140735945052992 secure_channel_create.c:112]  
Failed to create secure subchannel for secure name 'localhost:7053'
E0214 06:16:49.380124000 140735945052992 secure_channel_create.c:143]  
Failed to create subchannel arguments during subchannel creation.

1 个答案:

答案 0 :(得分:0)

我有同样的问题。您的情况可能有所不同,但取决于您是否具有容器的容量持久性以及用于重新启动容器的方法,证书可能会更新。当我更新我在步骤2中已粘贴到byfn-network.json文件中的证书时,我的问题得到了解决。