Hyperledger Composer:尝试ping业务网络时出错:x509:由未知权限签名的证书

时间:2018-02-21 17:57:55

标签: hyperledger-fabric hyperledger hyperledger-composer

Fabric CA Server启动时收到错误(ca.org1.example.com)

这是错误:

Could not load TLS certificate with BCCSP: Could not find matching private key for SKI: CSP:500 - Failed getting key for SKI [[74 227 52 30 73 220 158 98 138 158 61 209 206 89 246 99 232 211 108 174 62 7 117 225 123 88 119 70 196 195 234 44]]

接收命令错误:

composer network ping -c alice@tutorial-network Error: Error trying to ping. Error: Error trying to query business network. Error: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority Command failed

enter image description here

环境: 使用Fabric Samples First Network环境。 org1具有2个对等体(对等体0和1),org2具有2个对等体(对等体0和1),1个orderer,2个ca服务器(ca0& ca1)。 Docker Yaml文件附件。

1 个答案:

答案 0 :(得分:0)

找不到alice @ tutorial-network公钥的私钥。您是在创建自定义网络(相同的计算机(本地主机)还是不同的计算机?)或遵循0.16.x教程,其中的步骤是规定的? - > https://hyperledger.github.io/composer/tutorials/deploy-to-fabric-multi-org

另请参阅此处Getting an error certificate signed by unknown authority,这可能与您所看到的类似,尤其是CA证书。