Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

steps to install cryptogen tool for hyperledger fabric node setup?

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 .

like image 203
Robert Ravikumar Avatar asked Aug 04 '17 05:08

Robert Ravikumar


People also ask

What is Cryptogen in Hyperledger fabric?

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.

What does the Cryptogen tool help you create transactions peers channels certificates?

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.

What does the Cryptogen tool help you create certificates?

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.


1 Answers

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

like image 120
Artem Barger Avatar answered Oct 06 '22 02:10

Artem Barger