简体   繁体   中英

Hyperledger Fabric cannot build network from my own CA

I have been working with this IBM tutorial to be able to deploy my network using my own CA.

I have generated my root and intermediate certificates (with Elliptic Curve Cryptography) using OpenSSL, then I created my self-signed certificates for each identity in the blockchain network (orderers, peers, administrative users, normal users, etc). After that, I populated my crypto-config directory with those certificates.

Finally, I try to create the orderer genesis block with the following command:

../bin/configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block

However, I get the following error:

2017-12-13 19:25:55.066 CST [configvalues/msp] TemplateGroupMSPWithAdminRolePrincipal -> CRIT 002 Setting up the MSP manager failed, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority

As developer am I able to use my own CA to work with Hyperledger Fabric or I must use the default CA? Do the certificates have to be signed by a well known CA?

您在放置证书signcerts你在放置和CERT admincerts必须登录/通过在根/中间证书颁发intermediatecerts目录(如你曾表示生成的中间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