gitee.com/hyperledger/fabric-ca@v2.0.0-alpha+incompatible/testdata/ca/rootca/ca2/fabric-ca-server-config.yaml (about)

     1  #
     2  # Copyright IBM Corp. All Rights Reserved.
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  # #############################################################################
     7  # The CA section contains information specific to this Certificate Authority.
     8  # Minimally, the name must be unique for all CAs serviced by the same server.
     9  # Additionally, you may specify any of the settings that are defined in the
    10  # server's configuration file to override them with a value specific for this CA.
    11  # For example, you should provide a different username and password for the
    12  # bootstrap identity as found in the "identities" subsection of the "registry" section.
    13  
    14  # See the server's configuration file for comments on all settings.
    15  # All settings pertaining to the server's listening endpoint are by definition
    16  # server-specific and so will be ignored in a CA configuration file.
    17  # #############################################################################
    18  ca:
    19    # Name of this CA
    20    name: rootca2
    21  
    22  ###########################################################################
    23  #  Certificate Signing Request section for generating the CA certificate
    24  ###########################################################################
    25  csr:
    26    cn: fabric-ca-server-rootca2
    27  
    28  #############################################################################
    29  #  Database section
    30  #  Supported types are: "sqlite3", "postgres", and "mysql".
    31  #  The datasource value depends on the type.
    32  #  If the type is "sqlite3", the datasource value is a file name to use
    33  #  as the database store.  Since "sqlite3" is an embedded database, it
    34  #  may not be used if you want to run the fabric-ca-server in a cluster.
    35  #  To run the fabric-ca-server in a cluster, you must choose "postgres"
    36  #  or "mysql".
    37  #############################################################################
    38  db:
    39    type: sqlite3
    40    datasource: fabric-ca2-server.db
    41    tls:
    42        enabled: false
    43        certfiles:
    44          - db-server-cert.pem
    45        client:
    46          certfile: db-client-cert.pem
    47          keyfile: db-client-key.pem