hyperledger / hyperledger/fabric-ca

Regiter and enroll all Hypereledger Fabric users and peers on LdapServer

Open
#314 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
453
Forks
714
Avg merge
7h 23m
Merged PRs (30d)
3

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.