Skip to content

kmilodenisglez/fabric.ca-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fabric.ca-deployment

Fabric CA Deployment Guide - following the steps described in CA Deployment steps

NOTE: In this project you can bring up the fabric-ca-server using docker or using the binary

Table of Contents

Download the binaries

The ca binaries can be downloaded from ca-binary

Preparing environment

Fabric CA client binary file

Copy the fabric-ca-client binary to fabric-ca-client-org1/bin folder.

Fabric CA server binary file

Copy the fabric-ca-server binary to fabric-ca-server-org1/bin folder.

Bring up the fabric-ca-server (docker or binary)

Fabric CA server with docker

In this section, Fabric-CA docker image is used to deploy an organization CA that issues identity certificates.

Start the fabric-ca server

start the server in debug mode

cd ./fabric-ca-server-org1
docker-compose up

Fabric CA server with binary

In this section, Fabric-CA image is used to deploy an organization CA that issues identity certificates.

cd ./fabric-ca-server-org1
./fabric-server-binary.sh

Registering and enrolling identities with a CA

In another terminal

cd ./fabric-ca-client-org1
. registerEnroll.sh
createOrg1

NOTE: The createOrg1 function register and enroll a peer0, user1, org1admin in fabric-ca-client-org1/ca-folder/org1 folder.

Documentation