创建通道报错,是哪个路径填的不对吗

来源:4-6 ChainSupport源码阅读

月亮明白我的心

2020-02-20

图片描述

写回答

2回答

月亮明白我的心

提问者

2020-02-21

cryptogen generate --config=./crypto-config.yaml

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

configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID chenchaochannel

configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID chenchaochannel -asOrg Org1MSP

configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org2MSPanchors.tx -channelID chenchaochannel -asOrg Org2MSP

docker-compose -f docker-compose-cli.yaml up -d

peer channel create -o orderer.example.com:7050 -c chenchaochannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem

0
1
自游蜗牛
应该是你的tls证书跟orderer本人使用的tls证书不匹配了。检查orderer的docker-compose里的tls设置
2020-02-21
共1条回复

自游蜗牛

2020-02-20

提示的错误是证书错误。你把你用的命令跟执行结果贴出来看看

0
0

Hyperledger Fabric实战联盟链-企业端区块链原理精讲

兼顾区块链应用层和底层 进击区块链工程师

787 学习 · 564 问题

查看课程

相似问题