mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 23:45:10 +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>
(cherry picked from commit 0c4141f2a1)
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"name": "first-network-org2",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org2",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org2": {
|
|
"mspid": "Org2MSP",
|
|
"peers": [
|
|
"peer0.org2.example.com",
|
|
"peer1.org2.example.com"
|
|
],
|
|
"certificateAuthorities": [
|
|
"ca.org2.example.com"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"peer0.org2.example.com": {
|
|
"url": "grpcs://localhost:9051",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer0.org2.example.com"
|
|
}
|
|
},
|
|
"peer1.org2.example.com": {
|
|
"url": "grpcs://localhost:10051",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "peer1.org2.example.com"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"ca.org2.example.com": {
|
|
"url": "https://localhost:8054",
|
|
"caName": "ca-org2",
|
|
"tlsCACerts": {
|
|
"path": "crypto-config/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem"
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|