-
Notifications
You must be signed in to change notification settings - Fork 714
Description
I successfully connected my Hyperledger Fabric network to an OpenLdap server running on a docker container, and I have enrolled all users, admins, and peers.
Also I created the genesis block, channel transaction and AnchorPeersUpdate.
But when I try to create my channel I get the following error :
Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'supply-channel', could not successfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied
I know this error occurs when there is a problem with the identity (including MSP ID, certificate and keys) that submitted the request.
So my questions are :
- what is the best way to connect my Hyperledger Fabric network to my LDAP server in order to register all users, administrators, peers with correct identities?
- How to convert identity attributes registered on LDAP server to fabric-ca identity attributes?