I have defined Participant as :
participant SupplierChainParticipant identified by participantId {
o String participantId
o String identity
o String type
o String secret
}
I have also created participant using composer-rest-sever loopback API, Participant created :
{
"$class": "org.suppchain.SupplierChainParticipant",
"participantId": "Deepak",
"identityName": "Parmar",
"type": "OEM",
"secret": "not defined"
}
Now, I am trying to issue identity using composer cli using command :
composer identity issue -n 'supplychain-network' -p hlfv1 -i admin -s adminpw -u dvparmar -a "org.suppchain.SupplierChainParticipant#Deepak"
But, I am getting following error:
Error: fabric-ca request register failed with errors [[{"code":0,"message":"User 'dvparmar' is already registered"}]] Command failed.
Any input/suggestion will be helpful.