Configure and Start the Hyperledger Fabric CA Server

  1. Go to /etc/hyperledger/fabric-ca-server directory and open fabric-ca-server-config.yaml file.

›_ Console

# cd /etc/hyperledger/fabric-ca-server 

# vim fabric-ca-server-config.yaml 
  1. Locate the bccsp section and add the PKCS #11 settings. For example:

image-3285483850-1.jpg

Fabric-CA-Server-config file

Here we need to update 2 port numbers in the file fabric-ca-server-config.yaml.

  • search for 7054 and replace it with 7055

  • search for 9443 and replace it with 9444

  1. Delete any keystore in /etc/hyperledger/fabric-ca-server such as the msp directory and the ca-cert.pem file so that new ones are generated with the keys on the HSM when the server is started.