简体   繁体   中英

Error while Initializating Fabric-CA server

I am trying to initialize fabric-ca following its user guide using this config file but when executing the following command:

fabric-ca-server init --cafiles fabric-ca-server-config.yaml

I am getting the following error:

2018/11/12 22:59:45 [DEBUG] Intializing nonce manager for issuer 'undercroft'
2018/11/12 22:59:45 [DEBUG] Closing server DBs
2018/11/12 22:59:45 [FATAL] Initialization failure: CA name 'undercroft' is used in '/home/paradox/hyperledger/fabric/undercroft/fabric-ca/server/fabric-ca-server-config.yaml' and '/home/paradox/hyperledger/fabric/undercroft/fabric-ca/server/fabric-ca-server-config.yaml'

While I am getting this error if I am using the command line flags of fabric-ca-server I am successfully able to initialize and launch the

This is the full error log

到目前为止, --cafiles标志仅在有多个CA时使用,如果只有一个CA,它将仅使用$FABRIC_CA_SERVER_HOME目录中的配置文件。

Have you try if you change the CN of the fabric-ca-server ? or change the name of the CA ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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