hyperledger-fabric - 无法在最新版本的 Fabric 第一网络中启动 CA 服务器
问题描述
我已经在 Hyper Ledger 结构中完成了第一个网络的构建,并尝试在我使用以下教程创建的网络上创建区块链网络。
https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org.html
在中间,我发现一个选项似乎不起作用
我检查了 bynf.sh 文件中的相应选项,因为它在执行时似乎显示错误,并且没有根据脚本为脚本提供的参数 -a 作为参数。
我忽略了该选项并继续教程并在第 11 步安装网络时触发。
这是我得到的错误
venkat@venkatltop:~/fabric-samples/first-network$ composer network install --card PeerAdmin@byfn-network-org1 --archiveFile trade-network.bna
⠙ Installing business network. This may take a minute...(node:17323) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
⠹ Installing business network. This may take a minute...E0511 16:22:41.448320702 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0511 16:22:41.448766436 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0511 16:22:41.449125748 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0511 16:22:41.452536325 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
⠸ Installing business network. This may take a minute...E0511 16:22:41.628664154 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
E0511 16:22:41.632493135 17323 ssl_transport_security.cc:989] Handshake failed with fatal error SSL_ERROR_SSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed.
✖ Installing business network. This may take a minute...
Error: Error trying install business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 14 UNAVAILABLE: Connect Failed
Response from attempted peer comms was an error: Error: 14 UNAVAILABLE: Connect Failed
Command failed
venkat@venkatltop:~/fabric-samples/first-network$
我相信选项 -a 可能与此错误有关,因为它在以前的版本中启动 CA 服务器,可以避免此错误但不确定。
请建议我解决此错误的任何解决方案。
注意:我已从以下链接检查了解决方案,但更改并未解决我的问题
解决方案
您可能正在使用标准面料样品,在先决条件部分中,它说明了以下内容
接下来,使用命令行克隆以下 GitHub Fabric Samples 存储库(不要使用 Fabric 站点中的示例:因为它缺少本教程所需的一些更改)
git clone -b issue-6978 https://github.com/sstone1/fabric-samples.git
此版本添加了 hyperledger fabric 提供的 byfn 样本中缺少的 fabric-ca。
推荐阅读
- python - 获取特定年份的夏令时日期的便捷功能
- loops - 如何使用 for 循环和 zip 将两个列表组合成单独的句子
- mysql - 如何删除 DROPPED 表(MySQL)的外部约束?
- windows - Hyper-V - 无访客互联网
- git - 如何在 IntelliJ IDEA 中进行 BitBucket 拉取请求冲突解决
- angular - 访问路由参数 - 角度 8
- asp.net - 超出会话的请求队列限制
- python - TypeError: 'type' 对象不能为 eval() 下标
- javascript - AnalyserNode 如何(如果有的话)用于分析整个音频文件,并获取可视化所需的数据?
- javascript - 如何从作为appium中元素承诺的一部分的元素中提取文本