github.com/paul-lee-attorney/fabric-ca-1.4.7-gm@v0.0.0-20201120102036-c7ad827cf9ac/testdata/fabric-ca-client-config.yaml (about) 1 2 # 3 # Copyright IBM Corp. All Rights Reserved. 4 # 5 # SPDX-License-Identifier: Apache-2.0 6 # 7 ############################################################################# 8 # This is a configuration file for the fabric-ca-client command. 9 # 10 # COMMAND LINE ARGUMENTS AND ENVIRONMENT VARIABLES 11 # ------------------------------------------------ 12 # Each configuration element can be overridden via command line 13 # arguments or environment variables. The precedence for determining 14 # the value of each element is as follows: 15 # 1) command line argument 16 # Examples: 17 # a) --url https://localhost:7054 18 # To set the fabric-ca server url 19 # 2) environment variable 20 # Examples: 21 # a) FABRIC_CA_CLIENT_URL=https://localhost:7054 22 # To set the fabric-ca server url 23 # 3) configuration file 24 # 4) default value (if there is one) 25 # All default values are shown beside each element below. 26 # 27 # FILE NAME ELEMENTS 28 # ------------------ 29 # All filename elements below end with the word "file". 30 # For example, see "certfile" and "keyfile" in the "ca" section. 31 # The value of each filename element can be a simple filename, a 32 # relative path, or an absolute path. If the value is not an 33 # absolute path, it is interpretted as being relative to the location 34 # of this configuration file. 35 # 36 ############################################################################# 37 38 ############################################################################# 39 # Client Configuration 40 ############################################################################# 41 42 # URL of the Fabric-ca-server (default: http://localhost:7054) 43 URL: http://localhost:7090 44 45 ############################################################################# 46 # TLS section for secure socket connection 47 ############################################################################# 48 tls: 49 # TLS section for secure socket connection 50 certfiles: root.pem # Comma Separated list of root certificate files (e.g. root.pem, root2.pem) 51 client: 52 certfile: tls_client-cert.pem 53 keyfile: tls_client-key.pem 54 55 ############################################################################# 56 # Certificate Signing Request section for generating the CSR for 57 # an enrollment certificate (ECert) 58 ############################################################################# 59 csr: 60 cn: admin2 61 names: 62 - C: US 63 ST: "North Carolina" 64 L: 65 O: Hyperledger 66 OU: Fabric 67 hosts: 68 - hostname 69 ca: 70 pathlen: 71 pathlenzero: 72 expiry: 73 74 ############################################################################# 75 # Registration section used to register a new user with fabric-ca server 76 ############################################################################# 77 id: 78 name: testRegister 79 type: client 80 affiliation: hyperledger.org3 81 attributes: 82 - name: hf.Revoker 83 value: true 84 - name: foo 85 value: bar