Reputation: 25
Currently, I follow the Fabric CA Operation Guide -> https://hyperledger-fabric-ca.readthedocs.io/en/latest/operations_guide.html# with Fabric-ca-1.4.7.
But When I try to launch a peer with docker (peer1-org1) Some errors occurs like :
ERRO 030 Cannot run peer because error when setting up MSP of type bccsp from directory /tmp/hyperledger/org1/peer1/msp: KeyMaterial not found in SigningIdentityInfo
or
ERRO 02f Cannot run peer because error when setting up MSP of type bccsp from directory /tmp/hyperledger/org1/peer1/msp: the supplied identity is not valid: x509: certificate signed by unknown authority
When I followed the guide some actions of folder's population didn't happen correctly, like on -> Enroll Orderer Org’s CA Admin :
/tmp/hyperledger/org0/ca/admin
nothing happened in, it's on an another folder (.fabric-ca-client) or again on msp folders, for all keystore and cacerts are on the same folder (.fabric-ca-client).
To arrived to the step to launch a peer, I had to do some tricks like search where is the file I need, because they are not in the normal folder or modify the default cmd of Fabric-ca-client. My goal is just to start a default network, like on tutorial but with Fabric-ca.
So, what goes wrong on my step ?
Before to launch a peer no error occurred.
Upvotes: 2
Views: 320
Reputation: 336
If you want to start a simple network using Fabric CA, you can try to run test-network of fabric-samples. Using the command: ./network.sh up createChannel -ca
. Go through line by line in network.sh shell script and you will understand how to use Fabric CA easily and friendly.
Upvotes: 1