Cannot create crypto materiel with cryptogen command?

0 votes

When I am creating crypto-materiel with cryptogen command It leaves me an error like this.

org1.example.com
?[31m2019-02-26 10:41:27.127 +0530 [bccsp_sw] storePrivateKey -> ERRO 001?[0m Failed storing private key [835929e037bfbf4d3e78ee692949457b60cf0d7ed10ccd4761c8a33e3c554713]: [open crypto-config\peerOrganizations\org1.example.com\peers\peer0.org1.example.com\msp\keystore\835929e037bfbf4d3e78ee692949457b60cf0d7ed10ccd4761c8a33e3c554713_sk: The system cannot find the path specified.]
Error generating local MSP for {peer0 peer0.org1.example.com[peer0.org1.example.com peer0]}:

Can someone help me to solve this problem?

Feb 26 in Blockchain by Tharindu
• 160 points
93 views
Can you please share the command you used for this?

command I used is

cryptogen generate --config=./crypto-config.yaml

And the operating system I am using is windows 10 pro

Hi @Tharindu. Have you set the hyperledger config path?

export FABRIC_CFG_PATH=$PWD
@Rajan

yeah, I set the path.

The error you are getting is usually because of the path but you have set it. Can you explain your network structure and share the crypto-config.yaml file?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Blockchain

0 votes
0 answers

cryptogen: error: open ./crypto-config.yaml: The system cannot find the file specified

I created a generate.sh to generate crypto ...READ MORE

Mar 1 in Blockchain by Tharindu
• 160 points

closed Mar 1 by Tharindu 146 views
0 votes
1 answer
0 votes
1 answer

Cannot access web3 object with typescript and ethereum

You still need to instantiate it first. ...READ MORE

answered Sep 25, 2018 in Blockchain by slayer
• 29,170 points
160 views
0 votes
1 answer
0 votes
0 answers

Cannot create genesis block?

When I try to create a genesis block ...READ MORE

Feb 27 in Blockchain by Tharindu
• 160 points

edited Feb 28 by Omkar 230 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
77 views
+1 vote
1 answer