mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
ORG4 CCP
This commit is contained in:
parent
5d9ef2f5e5
commit
9106de0430
1 changed files with 7 additions and 7 deletions
|
|
@ -26,11 +26,11 @@ function yaml_ccp {
|
||||||
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
|
ccp-template.yaml | sed -e $'s/\\\\n/\\\n /g'
|
||||||
}
|
}
|
||||||
|
|
||||||
ORG=3
|
ORG=4
|
||||||
P0PORT=11051
|
P0PORT=13051
|
||||||
CAPORT=11054
|
CAPORT=13054
|
||||||
PEERPEM=../organizations/peerOrganizations/org3.example.com/tlsca/tlsca.org3.example.com-cert.pem
|
PEERPEM=../organizations/peerOrganizations/org4.example.com/tlsca/tlsca.org4.example.com-cert.pem
|
||||||
CAPEM=../organizations/peerOrganizations/org3.example.com/ca/ca.org3.example.com-cert.pem
|
CAPEM=../organizations/peerOrganizations/org4.example.com/ca/ca.org4.example.com-cert.pem
|
||||||
|
|
||||||
echo "$(json_ccp $ORG $P0PORT $CAPORT $PEERPEM $CAPEM)" > ../organizations/peerOrganizations/org3.example.com/connection-org3.json
|
echo "$(json_ccp $ORG $P0PORT $CAPORT $PEERPEM $CAPEM)" > ../organizations/peerOrganizations/org4.example.com/connection-org4.json
|
||||||
echo "$(yaml_ccp $ORG $P0PORT $CAPORT $PEERPEM $CAPEM)" > ../organizations/peerOrganizations/org3.example.com/connection-org3.yaml
|
echo "$(yaml_ccp $ORG $P0PORT $CAPORT $PEERPEM $CAPEM)" > ../organizations/peerOrganizations/org4.example.com/connection-org4.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue