Hyperledger Composer with HLF 1.0- how to setup credentials for network deployment?

By pospi

I have setup a new Hyperledger network for development, using the configtxgen and cryptogen utilities from the getting started guide. This seems to generate some x.509 certificates for me for an admin user as well as a couple of standard users.

How do I then connect to this network using the composer-cli package (ie. composer network deploy [...]), as the command demands an enrolment ID and secret? It seems like I need to place one of the generated TCerts into the Composer credentials store, but I’m not sure which one or how to format the destination file. And once configured, I’m unsure how to call the deploy command (presumably I just omit the enrolment secret).

Source: Stack Overflow


Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273