当我使用go二进制文件创建Fabric-ca-server时,它生成了ca-cert.pem而不是ca-key.pem

时间:2018-10-04 17:19:19

标签: hyperledger-fabric-ca

我下载了fabric-ca-server的二进制文件

fabric-ca-server init -b rootadmin:rootpass

它给出了以下日志

2018/10/04 22:28:42 [INFO] Created default configuration file at /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/fabric-ca-server-config.yaml
2018/10/04 22:28:42 [INFO] Server Version: 1.2.0
2018/10/04 22:28:42 [INFO] Server Levels: &{Identity:1 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
2018/10/04 22:28:42 [WARNING] &{69 The specified CA certificate file /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/ca-cert.pem does not exist}
2018/10/04 22:28:42 [INFO] generating key: &{A:ecdsa S:256}
2018/10/04 22:28:42 [INFO] encoded CSR
2018/10/04 22:28:42 [INFO] signed certificate with serial number 482281718199235672673681231647746982638213106698
2018/10/04 22:28:42 [INFO] The CA key and certificate were generated for CA
2018/10/04 22:28:42 [INFO] The key was stored by BCCSP provider 'SW'
2018/10/04 22:28:42 [INFO] The certificate is at: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/ca-cert.pem
2018/10/04 22:28:42 [INFO] Initialized sqlite3 database at /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/fabric-ca-server.db
2018/10/04 22:28:42 [INFO] The issuer key was successfully stored. The public key is at: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/IssuerPublicKey, secret key is at: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/msp/keystore/IssuerSecretKey
2018/10/04 22:28:42 [INFO] The revocation key was successfully stored. The public key is at: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/IssuerRevocationPublicKey, private key is at: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca/msp/keystore/IssuerRevocationPrivateKey
2018/10/04 22:28:42 [INFO] Home directory for default CA: /Users/dreambig/Seetha/Blockchain/HyperLedger/fabric-ca/rootca
2018/10/04 22:28:42 [INFO] Initialization was successful

在这种情况下,我无法找到生成的ca-key.pem文件。

MacBook-Pro:fabric-ca dreambig$ fabric-ca-server version
fabric-ca-server:
 Version: 1.2.0
 Go version: go1.11
 OS/Arch: darwin/amd64

0 个答案:

没有答案