【问题标题】:How can I fix "Failed Storing private key?" Error01 problem?如何修复“存储私钥失败”? Error01 问题?
【发布时间】:2019-08-11 15:57:37
【问题描述】:

当我输入命令“./byfn.sh -m generate”时,我也看到了同样的问题。有人告诉我这是权限问题,但我完全不知道,因为这是我第一次学习超级账本结构。我需要更友好的帮助!提前谢谢!

hyper@traveler5260-VirtualBox:~/go/src/github.com/hyperledger/fabric-samples/first-network$ ../bin/cryptogen generate --config=./crypto-config.yaml
org1.example.com
2019-08-12 00:45:18.288 KST [bccsp_sw] storePrivateKey -> ERRO 001 Failed storing private key [000c5c07b91bf1bf3a8aee1b30591ee5af15844ecbcf3108a58a37ae9db0aa70]: [open crypto-config/peerOrganizations/org1.example.com/ca/000c5c07b91bf1bf3a8aee1b30591ee5af15844ecbcf3108a58a37ae9db0aa70_sk: permission denied]
Error generating signCA for org org1.example.com:
Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config/peerOrganizations/org1.example.com/ca/000c5c07b91bf1bf3a8aee1b30591ee5af15844ecbcf3108a58a37ae9db0aa70_sk: permission denied]

【问题讨论】:

  • 您应该将 chmod 777 赋予此路径 crypto-config/peerOrganizations/org1.example.com/ca/ 。这样可以避免这个问题。

标签: hyperledger-fabric blockchain hyperledger


【解决方案1】:

您应该将 chmod 777 提供给此路径 crypto-config/peerOrganizations/org1.example.com/ca/ 。这样可以避免这个问题。

【讨论】:

  • 非常感谢!!我会努力的!
猜你喜欢
  • 2019-12-03
  • 2017-12-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-11-14
  • 1970-01-01
  • 2012-12-20
  • 2011-07-06
相关资源
最近更新 更多