Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regiter and enroll all Hypereledger Fabric users and peers on LdapServer #314

Open
MekkiNassreddine opened this issue Sep 6, 2022 · 0 comments

Comments

@MekkiNassreddine
Copy link

MekkiNassreddine commented Sep 6, 2022

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant