concept CA server in category hyperledger

This is an excerpt from Manning's book Programming Hyperledger Fabric: Creating Permissioned Blockchains.
X.509 certificates can also be generated using the
opensslorcerttoolcommand line tools that come with Linux or Mac. These tools are useful while prototyping and to generate the self-signed certificate that can be used to bootstrap a CA server. In production one usually needs some database to manage issued credentials and an endpoint that can be accessed from remote machine, hence the need to run a CA server. The Fabric CA is further made up of a server component known asfabric-ca-serverwhich issues certificates and a client componentfabric-ca-clientthat can be used to make requests to the server from a remote machine through a command line. There is also a Node client that is also namedfabric-ca-clientwhich can be used by a Node application to communicate with the server.61 The server exposes just a handful of APIs:
Provisioning CA server
To provision CA server one can use the
hyperledger/fabric-ca:1.4Docker image or thefabric-ca-serverbinary that ships with Fabric. You can also develop your own CA and not use the one provided by Fabric. Irrespective of whether you are using Fabric CA or not, before you can provision a CA server, you need to provision the database that server will use - unless you are using a local file based db like sqlite3 for the CA db. In addition, before the CA server can be provisioned, you need to generate a self-signed certificate to bootstrap the CA. This certificate provides the identity of the server itself. How do we get this certificate? This is a “chicken-and-egg” problem since we need a CA server to get a certificate in the first place. When using Fabric CA, there are two ways to solve this problem: one is by using thefabric-ca-server initcommand and another is by usingopensslorcerttoolCLI to generate a self-signed certificate. Once we have the CA’s cert in hand, the server can be started withfabric-ca-server startcommand. Central to provisioning of Fabric CA is thefabric-ca-server-config.yamlfile which contains important configuration information such as connection string to the CA db and path to the CA server’s own X.509 certificate and private key. 80