问题
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