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, 2019 in Blockchain by Tharindu
• 170 points
1,647 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

+1 vote
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, 2019 in Blockchain by Tharindu
• 170 points

closed Mar 1, 2019 by Tharindu 2,198 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,370 points
2,887 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, 2019 in Blockchain by Tharindu
• 170 points

edited Feb 28, 2019 by Omkar 1,930 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,455 views
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,740 points
1,006 views
+1 vote
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP