我按照以下链接使用自定义加密图形材料运行第一个网络示例。
First Network with custom cryptographic material
从第三方CA生成证书。我已将所有证书放在所需的目录结构中。现在,当我启动docker容器时,按照其他步骤,他们会出现。但是当我尝试创建channell时,我得到以下错误
Error: got unexpected status: BAD_REQUEST -- Error authorizing update: Error validating DeltaSet: Policy for [Groups] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining
当我检查orderer容器的docker日志时,我找到了
DEBU 29f Checking if identity satisfies ADMIN role for Org1MSP
2017-11-13 07:21:36.533 UTC [cauthdsl] func2 -> DEBU 2a0 0xc420111280 identity 0 does not satisfy principal: **This identity is not an admin**
2017-11-13 07:21:36.533 UTC [cauthdsl] func2 -> DEBU 2a1 0xc420111280 principal evaluation fails
2017-11-13 07:21:36.533 UTC [cauthdsl] func1 -> DEBU 2a2 0xc420111280 gate 1510557696533528831 evaluation fails
2017-11-13 07:21:36.533 UTC [policies] Evaluate -> DEBU 2a3 Signature set did not satisfy policy /Channel/Application/Org1MSP/Admins
2017-11-13 07:21:36.533 UTC [policies] Evaluate -> DEBU 2a4 == Done Evaluating *cauthdsl.policy Policy /Channel/Application/Org1MSP/Admins
2017-11-13 07:21:36.533 UTC [policies] Evaluate -> DEBU 2a5 == Evaluating *cauthdsl.policy Policy /Channel/Application/Org2MSP/Admins ==
2017-11-13 07:21:36.533 UTC [cauthdsl] func1 -> DEBU 2a6 0xc420111290 gate 1510557696533664185 evaluation starts
2017-11-13 07:21:36.533 UTC [cauthdsl] func2 -> DEBU 2a7 0xc420111290 signed by 0 principal evaluation starts (used [false])
所以我认为身份可能不在管理员列表中, 但当我去检查以下路径时,我发现他们有相同的管理员证书
/crypto-config/peerOrganizations/org1.aexp.com/users/Admin@org1.aexp.com/msp/admincerts
和
crypto-config/peerOrganizations/org1.aexp.com/msp/admincerts
如果我应该以管理员身份制作身份,我需要遵循哪些步骤。
请建议 TIA