我成功地将业务网络部署到hlfv1 beta,现在我正在尝试为参与者发出身份但收到以下错误:
composer identity issue -p hlfv1 -n 'manumachines-network'
-i Org1PeerAdmin -s DJY27pEnl16d -u dxid1 -a "org.acme.manumachinesnetwork.Designer#designer-X@email.
com"
Error: fabric-ca request register failed with errors [[{"code":400,"message":"Authorization failure"}]
]
Command failed.
使用LoopBack,我知道参与者在区块链上:
[
{
"$class": "org.acme.manumachinesnetwork.Designer",
"email": "designer-X@email.com"
},
{
"$class": "org.acme.manumachinesnetwork.Designer",
"email": "designer-Y@email.com"
},
{
"$class": "org.acme.manumachinesnetwork.Designer",
"email": "designer-Z@email.com"
}
]
答案 0 :(得分:2)
我想出来了 - 在问题identity cli命令中,您必须使用在以下位置找到的CA的ID和密码: fabric-tools / fabric-scripts / hlfv1 / composer / crypto-config / docker-compose.yml文件,它是admin和adminpw。
我错误地尝试使用我已注册的管理员身份作为部署网络定义的先决条件。