報錯代碼
Failed to load config file: {"code":5200,"message":"could not read configuration file"}Failed to parse input: unexpected end of JSON input
解決辦法
如果出現此類報錯不要慌
首先先檢查你的代碼指定的證書檔案路徑是否正確
首先我的代碼是這樣的:
cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=www server-csr.json | cfssljson -bare server

代碼指定的ca證書是在當前目錄,而我的證書卻不是在當前目錄
在證書所在目錄進行操作即可
同時注意檢查防火墻策略、組態檔是否錯誤
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/275529.html
標籤:區塊鏈
上一篇:bytectf 2019 hf
下一篇:Ubuntu16.04安裝GCC 9.3.0遇到Building GCC requires GMP , MPFR and/or MPC
