github.com/darrenli6/fabric-sdk-example@v0.0.0-20220109053535-94b13b56df8c/test/tools/PTE/SCFiles/config-chan1-TLS.json (about) 1 { 2 "test-network": { 3 "orderer": { 4 "name": "OrdererOrg1", 5 "mspid": "OrdererOrg1", 6 "mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config", 7 "adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/users/Admin@example.com/msp", 8 "comName": "example.com", 9 "url": "grpcs://10.120.223.35:5005", 10 "server-hostname": "example.com", 11 "tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/ordererOrganizations/example.com/orderers/orderer1.example.com/msp/cacerts/ca.example.com-cert.pem" 12 }, 13 "org1": { 14 "name": "PeerOrg1", 15 "mspid": "PeerOrg1", 16 "mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config", 17 "adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp", 18 "comName": "example.com", 19 "ca": { 20 "url":"https://10.120.223.35:7054", 21 "name": "ca-org1" 22 }, 23 "username": "admin", 24 "secret": "adminpw", 25 "peer1": { 26 "requests": "grpcs://10.120.223.35:7061", 27 "events": "grpcs://10.120.223.35:6051", 28 "server-hostname": "peer0.org1.example.com", 29 "tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem" 30 }, 31 "peer2": { 32 "requests": "grpcs://10.120.223.35:7062", 33 "events": "grpcs://10.120.223.35:6052", 34 "server-hostname": "peer1.org1.example.com", 35 "tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/msp/cacerts/ca.org1.example.com-cert.pem" 36 } 37 }, 38 "org2": { 39 "name": "PeerOrg2", 40 "mspid": "PeerOrg2", 41 "mspPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config", 42 "adminPath": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp", 43 "comName": "example.com", 44 "ca": { 45 "url":"https://10.120.223.35:7055", 46 "name": "ca-org2" 47 }, 48 "username": "admin", 49 "secret": "adminpw", 50 "peer1": { 51 "requests": "grpcs://10.120.223.35:7063", 52 "events": "grpcs://10.120.223.35:6053", 53 "server-hostname": "peer0.org2.example.com", 54 "tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem" 55 }, 56 "peer2": { 57 "requests": "grpcs://10.120.223.35:7064", 58 "events": "grpcs://10.120.223.35:6054", 59 "server-hostname": "peer1.org2.example.com", 60 "tls_cacerts": "/root/gopath/src/github.com/hyperledger/fabric/common/tools/cryptogen/crypto-config/peerOrganizations/org2.example.com/peers/peer1.org2.example.com/msp/cacerts/ca.org2.example.com-cert.pem" 61 } 62 } 63 } 64 65 }