我尝试按照此处提供的说明为 Hyperledger Fabric 1.0 部署 Hyperledger Blockchain Explorer:https ://github.com/hyperledger/blockchain-explorer
但是,每当我尝试启动 main.js 时,我都会收到以下错误:
`[2017-11-17 20:57:53.785] [ERROR] Helper - Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140480353146688:error:1411713E:SSL routines:ssl_check_srvr_ecc_cert_and_alg:ecc cert not for signing:../deps/openssl/openssl/ssl/ssl_lib.c:2520:
140480353146688:error:14082130:SSL routines:ssl3_check_cert_and_algorithm:bad ecc cert:../deps/openssl/openssl/ssl/s3_clnt.c:3550:
]
at ClientRequest.<anonymous> (/opt/gopath/src/github.com/hyperledger/blockchain-explorer/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:711:12)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at onwriteError (_stream_writable.js:408:12)
at onwrite (_stream_writable.js:430:5)
at _destroy (internal/streams/destroy.js:39:7)
at TLSSocket.Socket._destroy (net.js:561:3)
[2017-11-17 20:57:53.787] [ERROR] Helper - admin enrollment failed`
我确保 config.json 配置正确。我没有编辑 tls 设置或路径。first-network (./byfn.sh) 生成的证书绝对正确,因为 byfn 设置最终成功。
我认为 Explorer 处理证书的方式有问题,但我不知道在哪里搜索解决方案。
任何有关上述内容的帮助将不胜感激!