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:
2. PaperNet admin uses the CA service SDK to:
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 "User1@org1.example.com", which is pre-defined in the basic-network sample.
(magnetocorp admin)$ cd ~/hyperledger-binaries/fabric-samples/basic-network (magnetocorp admin)$ cd crypto-config/peerOrganizations/org1.example.com/users (magnetocorp admin)$ ls -l User1@org1.example.com/msp 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.
2019-11-21, 216👍, 0💬
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
What is EPUB 2.0 Metadata "dc:subject" Element? EPUB 2.0 Metadata "dc:subject" is an optional metada...
How To Create a Table To Store Files in PHP? If you using MySQL database and want to store files in ...
How to write a policy to set and get custom variables? Here is a policy that sets and gets custom va...
How To Write a String to a File with a File Handle in PHP? If you have a file handle linked to a fil...