FISCO-BCOS-DOC
FISCO-BCOS-DOC copied to clipboard
群组新增节点,报No such file ../cert/agency/channel/cert.cnf
curl -#LO https://raw.githubusercontent.com/FISCO-BCOS/FISCO-BCOS/master-2.0/tools/gen_node_cert.sh
bash gen_node_cert.sh -c ../cert/agency -o newNode
新增节点报:
error on line -1 of ../cert/agency/channel/cert.cnf 140376256989072:error:02001002:system library:fopen:No such file or directory:bss_file.c:175:fopen('../cert/agency/channel/cert.cnf','rb')
解决方案是:
cp ../cert/agency/cert.cnf ../cert/agency/channel/
来源文档:https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/manual/build_chain.html
我也遇到了这个问题,但是国密版本仍然无法完成,脚本执行完毕没有新节点文件夹,也不报错。参考issue#1630