Create Peer Organizations

Org-Tesla

Create CA

Let’s begin with creating certificate authority to initiate the creation of peer org. Click on Add Certificate Authority.

create-ca

It will show a prompt asking for two options, whether to create a new CA (or) To import CA. Select to create new CA and click on Next.

create-ca-promt

For creating new CA, you will need to fill the following inputs.

1) Display Name – Peer Org CA display name.
2) Domain – Domain to be used with peer endpoints.
3) Organization Name – Name of Peer Org.
4) CA Name – Name of Peer Org CA.
5) Admin Identity Name – Name of Org Admin Identity.
6) Admin Identity Password – Password of Org Admin Identity.

Fill in and click on Next.

create-ca-details

It will then verify if CA subdomain is pointed to IP or not. Click on Confirm.

verify-ca-subdomain

confirm-ca-creation

Once the CA creation is done, you will receive the success prompt like below.

ca-success-prompt

Under the Register Identity tab in CA module, you will see the list of identities registered to the CA which includes a peer, org user and org admin.

registered-identities

Add Peers

Next, go to Peers module and click on “Add peer”.

add-peer

For adding new peer, you will need to fill in the following inputs.

1) Organization – Select peer org name from the dropdown.
2) Organization Domain – Domain to be used with peer endpoints.
3) Display Name – Peer ID.
4) Choose Registered Identity – Select registered peer id from dropdown.

Fill in and click on Next.

add-peer-details

Next page will verify the subdomains, then click on Confirm.

verify-peer-subdomains

confirm-peer-subdomains

Once the peer is created successfully, you will see a prompt saying it.

created-peer

Create 2nd Peer Organization

Org-Netflix

Follow all steps from creating CA till adding peer to create the second peer org.

create-ca

ca-details

verify-netflix-subdomain

netflix-ca-created-prompt

add-peer-netflix

netflix-peer-subdomain

Under the organizations tab, you will see the peer orgs you’ve created. And it will allow you to download CCP and MSP configuration of the org.

CCP (Connection Configuration Profile):

-> The CCP file, typically a YAML or JSON file, contains details about the network's structure, including peer and orderer addresses, channels, and certificates, to facilitate client applications connecting to the Fabric network.

-> It is used by client applications to identify and connect to specific resources within the Fabric network, such as peers and orderers, belonging to different organizations.

MSP (Membership Service Provider):

-> MSP configuration defines identity and access control for the organization, including certificates, signing keys, and CA (Certificate Authority) details, which are essential for verifying the legitimacy and roles of network participants.

-> MSP ensures that each participant’s identity is authenticated and authorized according to network policies, governing who can participate in transactions and access resources.

organizations