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

Can someone help me to solve this problem?

Feb 26 in Blockchain by Tharindu
• 160 points
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?


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 to generate crypto ...READ MORE

Mar 1 in Blockchain by Tharindu
• 160 points

closed Mar 1 by Tharindu 57 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,050 points
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 132 views
+4 votes
2 answers

I am unable to connect Ganache with Truffle/Npm Dev server. Pls help.

The issue is at CurrentProvider. Give the url ...READ MORE

answered Mar 26, 2018 in Blockchain by Perry
• 17,010 points

edited Oct 11, 2018 by Omkar 268 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
• 27,620 points
+1 vote
1 answer