Hi,

Cryptogen in general is more for testing and demonstration, using a tool cryptogen and a configuration file to generate crypto material, and let docker-compose files to arrange the crypto material to the right components (peers, orderers, etc.). Just think that one party (you) can access all crypto material for production network: it is never a good practice.

In real life, and for more practical use, one should bring up a CA for each org, and generate crypto material according to one’s need (components, network design, etc). In this case, only the Org Admin can access crypto material within that Org.

Fabric v2.0 provides a good sample (test network) showing how to use a CA to generate crypto material for every component and user. I recently wrote an article talking on this. You can make a reference on this.

Hope this helps. And you can reach me on kctam@ledgertech.biz for more idea exchange.

cheers, kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store