Search code examples
hyperledger-fabrichyperledger-fabric-ca

How to check whether a user is registered and enrolled in fabric-ca server using cli commands?


I have already started the fabric-ca server. And enrolled the bootstrap entity. Also registered and enrolled a user.

Now I have the fabric-sdk code to check whether a user is registered and enrolled in the fabric-ca server. I need to know, is it possible to check the same using cli command.


Solution

  • fabric-ca-client identity list --id ${ENROLLID}

    fabric-ca-client certificate list --id ${ENROLLID}