简体   繁体   English

无法生成第一个网络样本(存储私钥失败)

[英]Can't generate first network sample (failed storing private key)

i'm following this tutorial: http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html with windows 7 i installed all requirement but when i use this command:我正在关注本教程: http ://hyperledger-fabric.readthedocs.io/en/latest/build_network.html 与 Windows 7 我安装了所有要求但是当我使用此命令时:

./byfn.sh -m generate

I get this error:我收到此错误:

##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
org1.example.com
2018-03-06 11:14:37.016 CET [bccsp_sw] storePrivateKey -> ERRO 001 Failed             
storing private key 
[5bd9c88973f78e8b0216c647887bae50d1e11f0632cb21384698843ddb4870ea]: [open 
crypto-config\peerOrganizations\org1.example.com\peers\peer0.org1.example.com\msp\keystore\5bd9c88973f78e8b0216c647887bae50d1e11f0632cb21384698843ddb4870ea_sk: Le chemin d’accès spécifié est introuvable.]
Error generating local MSP for {peer0 peer0.org1.example.com       [peer0.org1.example.com peer0]}:
Failed storing key [ECDSAP256]: Failed storing ECDSA private key [open crypto-config\peerOrganizations\org1.example.com\peers\peer0.org1.example.com\msp\keystore\5bd9c88973f78e8b0216c647887bae50d1e11f0632cb21384698843ddb4870ea_sk: Le chemin d’accès spécifié est introuvable.]
Failed to generate certificates...

It tell me that the specified path cannot be found.它告诉我找不到指定的路径。 Any idea what is the reason of this error?知道这个错误的原因是什么吗?

Thank you for your help.谢谢您的帮助。

I resolved this issue by downloading the latest version of the binaries (v1.1.0-alpha ->v1.0.6).我通过下载最新版本的二进制文件 (v1.1.0-alpha ->v1.0.6) 解决了这个问题。

In my case directories had too long path names.在我的例子中,目录的路径名太长。 Shorting them solved the problem.缩短它们解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM