mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
Add connection profile to test-network-nano-bash to enable legacy SDK apps. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
48 lines
1.2 KiB
JSON
Executable file
48 lines
1.2 KiB
JSON
Executable file
{
|
|
"name": "test-network-org${ORG}",
|
|
"version": "1.0.0",
|
|
"client": {
|
|
"organization": "Org${ORG}",
|
|
"connection": {
|
|
"timeout": {
|
|
"peer": {
|
|
"endorser": "300"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"organizations": {
|
|
"Org${ORG}": {
|
|
"mspid": "Org${ORG}MSP",
|
|
"peers": [
|
|
"peer0.org${ORG}.example.com"
|
|
],
|
|
"certificateAuthorities": [
|
|
"ca.org${ORG}.example.com"
|
|
]
|
|
}
|
|
},
|
|
"peers": {
|
|
"peer0.org${ORG}.example.com": {
|
|
"url": "grpcs://127.0.0.1:${P0PORT}",
|
|
"tlsCACerts": {
|
|
"pem": "${PEERPEM}"
|
|
},
|
|
"grpcOptions": {
|
|
"ssl-target-name-override": "localhost"
|
|
}
|
|
}
|
|
},
|
|
"certificateAuthorities": {
|
|
"ca.org${ORG}.example.com": {
|
|
"url": "https://127.0.0.1:${CAPORT}",
|
|
"caName": "ca",
|
|
"tlsCACerts": {
|
|
"pem": ["${CAPEM}"]
|
|
},
|
|
"httpOptions": {
|
|
"verify": false
|
|
}
|
|
}
|
|
}
|
|
}
|