I try to create first-network manually instead of using byfn.sh script, and when I try to create channel inside cli container.
peer channel create -o orderer.example.com:7050 -c mychannel -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
I get this error:
Error: got unexpected status: BAD_REQUEST -- error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining
and this error from orderer:
ERRO 008 Principal deserialization failure (the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com")) for identity
note:
it's work fine if I use byfn.sh script
I found this
peer channel creation fails in Hyperledger Fabric,
hyperledger fabric first_network example create channel got BAD_REQUEST,
FABRIC returns Error: Got unexpected status: BAD_REQUEST questions
but I still don't know how I can fix this error?
os host: ubuntu 16:04
hyperledger fabric version: x86_64-1.1.0