Prepare User Identity for Isabella


How to Prepare User Identity for Isabella?



If Isabella wants to run any application to use the chaincode running the PaperNet, you to prepare a user identity for her.

An identity of an application user consists of a private key and a public key certificate issue by the CA node of the PaperNet.

Normally, Isabella needs ask the PaperNet admin to create an identity with two options:

1. PaperNet admin uses admin tools to:

  • Create a pair of private key and public key for Isabella.
  • Sign the pubic key into a certificate using the CA's private key.
  • Create a user in CA by loading the private key and the certificate to the CA node of PaperNet.

2. PaperNet admin uses the CA service SDK to:

  • Register Isabella as a user of PaperNet.
  • Enroll the user to obtain her private key and certificate.

But this tutorial, the PaperNet admin chooses a lazy option. He decided to give Isabella the private key and password of the user identity of "", which is pre-defined in the basic-network sample.

(magnetocorp admin)$ cd ~/hyperledger-binaries/fabric-samples/basic-network
(magnetocorp admin)$ cd crypto-config/peerOrganizations/

(magnetocorp admin)$ ls -l
drwxrwxr-x 2 fyicenter 4096 Apr  1 23:01 admincerts
drwxrwxr-x 2 fyicenter 4096 Apr  1 23:01 cacerts
drwxrwxr-x 2 fyicenter 4096 Apr  1 23:01 keystore
drwxrwxr-x 2 fyicenter 4096 Apr  1 23:01 signcerts
drwxrwxr-x 2 fyicenter 4096 Apr  1 23:01 tlscacerts

Hope that the certificate is not expired by the time you are running this tutorial.


⇒ Create Identity Wallet for Isabella

⇐ Install Node.js Application Dependencies

⇑ commercial-paper Sample Network

⇑⇑ Hyperledger Tutorials

2019-11-21, 788👍, 0💬