Hello I am tryin to use hyperledger fabric for a block chain implementation. I did the first-network demo and found lot of certificates in it. I have tried arranging them hierar
When you generate certificates of an org using cryptogen, you will see
├── ca
├── msp
├── peers
├── tlsca
└── users
Let me explain one by one CA: contains CA certificate & private key tlsca contains CA certificate & private key(TLS Version) MSP: This is organization MSP we need this to generate genesis block
Organizations:
- &nbd
Name: nbd
ID: nbdMSP
MSPDir: crypto-config/peerOrganizations/nbd/msp
AnchorPeers:
- Host: nbd-peer1-nbd
Port: 7051
Peers: Peers contains two directories
├── msp
└── tls
Checking MSP of peer...
├── admincerts
├── cacerts
├── keystore
├── signcerts
└── tlscacerts
admincerts: This is peer msp, which is different to organization MSP, Every peer can have admin certs which is used to allow admin privilage user to issue admin level transactions cacerts: Trusted root CA cert keystore: Private key of the peer signcerts: signcert of peer cert tlscacerts:Trusted root CA cert (TLS Version)
----Same for orderers also----
Users
├── Admin@nbd
└── User1@nbd
----Same for users also----