Когда я создавал Fabric-ca-сервер с использованием двоичных файлов go, он генерировал ca-cert.pem, но не ca-key.pem - PullRequest
0 голосов
/ 04 октября 2018

Я загрузил двоичные файлы 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
...