File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
demo/client/backend/fabric-gateway Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,13 @@ docker exec ca.example.com fabric-ca-client enroll \
19
19
docker exec ca.example.com fabric-ca-client register \
20
20
--id.name org1admin --id.secret adminpw \
21
21
--id.type admin --id.affiliation org1 \
22
- --id.attrs ' hf.Registrar.Roles=user , hf.Revoker=true' \
22
+ --id.attrs ' hf.Registrar.Roles=client , hf.Revoker=true' \
23
23
--id.attrs ' hf.GenCRL=true, admin=true:ecert, hf.Registrar.Attributes=approle=auction.*:ecert' \
24
24
--id.attrs ' approle=auction.*' \
25
25
--url http://admin:adminpw@localhost:7054
26
+ # Note: for /api/getRegisteredUsers API call to work it is crucial that hf.Registrar.Roles
27
+ # attribute above covers the id.type from below or that function will just return an
28
+ # empty list (but no error)!
26
29
27
30
# verify org1admin has been registered
28
31
# ........................................................
You can’t perform that action at this time.
0 commit comments