Skip to content

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

@MekkiNassreddine

Description

@MekkiNassreddine

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions