Skip to content

Commit

Permalink
[CE-179] Fix ca configuration issue
Browse files Browse the repository at this point in the history
Currently the ca containers are not configured with role and
affiliations, this made the ca container not being able to
enroll and register new users, peers, orderers. This patch set
will fix that problem.

Change-Id: Ib2e33b35535853731b8302ef971ddd77b6361d28
Signed-off-by: tongliofcary <litong01@us.ibm.com>
  • Loading branch information
tongliofcary committed Nov 27, 2017
1 parent e9eb9f1 commit 4f65ce5
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
registry:
# Maximum number of times a password/secret can be reused for enrollment
# (default: -1, which means there is no limit)
maxenrollments: -1

# Contains identity information which is used when LDAP is disabled
identities:
- name: {{ fabric.ca.admin }}
pass: {{ fabric.ca.adminpw }}
type: client
affiliation: ""
maxenrollments: -1
attrs:
hf.Registrar.Roles: "client,user,peer,validator,auditor"
hf.Registrar.DelegateRoles: "client,user,validator,auditor"
hf.Revoker: true
hf.IntermediateCA: true

ldap:
enabled: false

affiliations:
{{ item.org }}:
- department1
- department2

0 comments on commit 4f65ce5

Please sign in to comment.