在Hyperledger Fabric中添加新对等方时出错 [英] Error adding new Peer in Hyperledger Fabric
本文介绍了在Hyperledger Fabric中添加新对等方时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要在Hyperledger Fabric中添加新的对等方,我正在使用以下命令
To add a new peer in Hyperledger Fabric I am using following command
peer = client.newPeer('grpcs://localhost:7051')
出现以下错误
PEM encoded certificate is required
请帮助!
推荐答案
您可以在first-network文件夹和connection-org1/org2.json中找到PEM证书. 只需启动您的网络,并在启动后复制PEM证书即可.
You can find PEM certificate in first-network folder and in connection-org1/org2.json. Just start your network and after starting it copy the PEM certi.
这篇关于在Hyperledger Fabric中添加新对等方时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文