I was adding a new orderer in a network configured with RAFT consensus protocol so I have added and modified by config file and included the newly created orderer's TLS certs in the consensus-type section.
I have followed all the steps to make the channel configuration update transaction upto the signconfigtx update but when I try to do the final peer channel update then it gets failed and it produces this error:
2019-08-22 10:59:48.212 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating DeltaSet: policy for [Value] /Channel/Orderer/ConsensusType not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied
Even though i have signed this update from admin of both the orgs but still I am getting this error. Please help me and let me know how to resolve this.
Okay, so I have resolved this issue. I was signing the channel update transaction using wrong MSP and admin certs. The update of this type should be signed of by OrdererMSP so I have to use Orderer's admin credentials to sign this update.