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 \
1919docker exec ca.example.com fabric-ca-client register \
2020 --id.name org1admin --id.secret adminpw \
2121 --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' \
2323 --id.attrs ' hf.GenCRL=true, admin=true:ecert, hf.Registrar.Attributes=approle=auction.*:ecert' \
2424 --id.attrs ' approle=auction.*' \
2525 --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)!
2629
2730# verify org1admin has been registered
2831# ........................................................
You can’t perform that action at this time.
0 commit comments