I am a java developer and i have started learning hyperledger fabric . I am trying to do the setup for fabric node setup . I am not sure how to install cryptogen tool .
Please help me .
cryptogen is an utility for generating Hyperledger Fabric key material. It is provided as a means of preconfiguring a network for testing purposes. It would normally not be used in the operation of a production network.
We will use the cryptogen tool to generate the cryptographic material (x509 certs and signing keys) for our various network entities. These certificates are representative of identities, and they allow for sign/verify authentication to take place as our entities communicate and transact.
The cryptogen tool of Hyperledger Fabric uses the CA and MSP (Membership Service Provider) package to generate the certificates of entities. Initially the extend function of the cryptogen tool was invoked which loaded the modified crypto-config. yaml file and called the renderOrgSpec function.
For Linux users: The installation process of binaries tools for Hyperledger Fabric is captured in the download platform-specific binaries section.
You need to run:
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/release/scripts/bootstrap-1.0.0.sh | bash
It will download required files. Make sure you have all prerequisite installed and configured as well.
For MacOSX users: you can also use Homebrew to install the Hyperledger Fabric binaries:
brew tap hyperledger/fabric
brew install fabric-tools
In case you are working with source code base you can simply compile it with
make cryptogen
it will be available at ./build/bin/cryptogen
folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With