mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Add a new "-a" option to byfn.sh that optionally deploys certificate authorities (in Docker containers) for organisation 1 and 2. Change-Id: Ib58c46941aa6e8e58bac01aa3349e97d1f93b930 Signed-off-by: Simon Stone <sstone1@uk.ibm.com>
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"name": "first-network-org1",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org1",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org1": {
|
|
"mspid": "Org1MSP",
|
|
"peers": [
|
|
"peer0.org1.example.com",
|
|
"peer1.org1.example.com"
|
|
],
|
|
"certificateAuthorities": [
|
|
"ca.org1.example.com"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"peer0.org1.example.com": {
|
|
"url": "grpcs://localhost:7051",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer0.org1.example.com"
|
|
}
|
|
},
|
|
"peer1.org1.example.com": {
|
|
"url": "grpcs://localhost:8051",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer1.org1.example.com"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"ca.org1.example.com": {
|
|
"url": "https://localhost:7054",
|
|
"caName": "ca-org1",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem"
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|