Error adding new Peer in Hyperledger Fabric

余生颓废 提交于 2019-12-11 06:49:22

问题


To add a new peer in Hyperledger Fabric I am using following command

peer = client.newPeer('grpcs://localhost:7051')

getting following error

PEM encoded certificate is required

Please help!


回答1:


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.



来源:https://stackoverflow.com/questions/48204926/error-adding-new-peer-in-hyperledger-fabric

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!