mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
Remove double quotes for env variables
Double quotes have caused issues in some environments, e.g. see https://github.com/hyperledger/fabric/issues/4358 Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
effe8ff980
commit
bf61094231
10 changed files with 21 additions and 21 deletions
|
|
@ -76,7 +76,7 @@ You can use either identity with the `abac.creator=true` attribute to create an
|
||||||
|
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/creator1@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/creator1@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ Set the following environment variables to interact with the network as a user f
|
||||||
export PATH=${PWD}/../bin:${PWD}:$PATH
|
export PATH=${PWD}/../bin:${PWD}:$PATH
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ Set the following environment to interact with the test network as Org3.
|
||||||
export PATH=${PWD}/../bin:$PATH
|
export PATH=${PWD}/../bin:$PATH
|
||||||
export FABRIC_CFG_PATH=${PWD}/../config/
|
export FABRIC_CFG_PATH=${PWD}/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org3MSP"
|
export CORE_PEER_LOCALMSPID=Org3MSP
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp
|
||||||
export CORE_PEER_ADDRESS=localhost:11051
|
export CORE_PEER_ADDRESS=localhost:11051
|
||||||
|
|
|
||||||
|
|
@ -98,12 +98,12 @@ set -x
|
||||||
ORG_NUM=$1
|
ORG_NUM=$1
|
||||||
CHANNEL_NAME=$2
|
CHANNEL_NAME=$2
|
||||||
PEER_NAME=$3
|
PEER_NAME=$3
|
||||||
ORG_NAME="org${ORG_NUM}"
|
ORG_NAME=org${ORG_NUM}
|
||||||
ANCHOR_PEER_HOST=${ORG_NAME}-${PEER_NAME}
|
ANCHOR_PEER_HOST=${ORG_NAME}-${PEER_NAME}
|
||||||
ANCHOR_PEER_PORT=7051
|
ANCHOR_PEER_PORT=7051
|
||||||
ORDERER_TLS_CA_FILE=/var/hyperledger/fabric/organizations/ordererOrganizations/org0.example.com/msp/tlscacerts/org0-tls-ca.pem
|
ORDERER_TLS_CA_FILE=/var/hyperledger/fabric/organizations/ordererOrganizations/org0.example.com/msp/tlscacerts/org0-tls-ca.pem
|
||||||
|
|
||||||
export CORE_PEER_LOCALMSPID="Org${ORG_NUM}MSP"
|
export CORE_PEER_LOCALMSPID=Org${ORG_NUM}MSP
|
||||||
|
|
||||||
set_anchor_peer
|
set_anchor_peer
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ To test things are working you can invoke the 'Contract Metadata' function. For
|
||||||
# Environment variables for Org1
|
# Environment variables for Org1
|
||||||
|
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
|
||||||
|
|
@ -33,17 +33,17 @@ setGlobals() {
|
||||||
fi
|
fi
|
||||||
infoln "Using organization ${USING_ORG}"
|
infoln "Using organization ${USING_ORG}"
|
||||||
if [ $USING_ORG -eq 1 ]; then
|
if [ $USING_ORG -eq 1 ]; then
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG1_CA
|
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG1_CA
|
||||||
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
elif [ $USING_ORG -eq 2 ]; then
|
elif [ $USING_ORG -eq 2 ]; then
|
||||||
export CORE_PEER_LOCALMSPID="Org2MSP"
|
export CORE_PEER_LOCALMSPID=Org2MSP
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG2_CA
|
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG2_CA
|
||||||
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp
|
||||||
export CORE_PEER_ADDRESS=localhost:9051
|
export CORE_PEER_ADDRESS=localhost:9051
|
||||||
elif [ $USING_ORG -eq 3 ]; then
|
elif [ $USING_ORG -eq 3 ]; then
|
||||||
export CORE_PEER_LOCALMSPID="Org3MSP"
|
export CORE_PEER_LOCALMSPID=Org3MSP
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG3_CA
|
export CORE_PEER_TLS_ROOTCERT_FILE=$PEER0_ORG3_CA
|
||||||
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${TEST_NETWORK_HOME}/organizations/peerOrganizations/org3.example.com/users/Admin@org3.example.com/msp
|
||||||
export CORE_PEER_ADDRESS=localhost:11051
|
export CORE_PEER_ADDRESS=localhost:11051
|
||||||
|
|
|
||||||
|
|
@ -140,7 +140,7 @@ Note that we need to call the initialize function before being able to use any f
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```bash
|
```bash
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/person1@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/person1@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -224,7 +224,7 @@ Switch to the Org2 terminal and set the following environment variables.
|
||||||
```bash
|
```bash
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org2MSP"
|
export CORE_PEER_LOCALMSPID=Org2MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/person2@org2.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/person2@org2.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:9051
|
export CORE_PEER_ADDRESS=localhost:9051
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ Note that we need to call the initialize function before being able to use any f
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -151,7 +151,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
|
||||||
```
|
```
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org2MSP"
|
export CORE_PEER_LOCALMSPID=Org2MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:9051
|
export CORE_PEER_ADDRESS=localhost:9051
|
||||||
|
|
@ -279,7 +279,7 @@ Open a 3rd terminal to represent the spender in Org1 and navigate to fabric-samp
|
||||||
export PATH=${PWD}/../bin:${PWD}:$PATH
|
export PATH=${PWD}/../bin:${PWD}:$PATH
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/spender@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/spender@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ Note that we need to call the initialize function before being able to use any f
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -123,7 +123,7 @@ Now that we have initialized the contract and created the identity of the minter
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -165,7 +165,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
|
||||||
```
|
```
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org2MSP"
|
export CORE_PEER_LOCALMSPID=Org2MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:9051
|
export CORE_PEER_ADDRESS=localhost:9051
|
||||||
|
|
@ -280,7 +280,7 @@ Open a 3rd terminal to represent the operator in Org1 and navigate to fabric-sam
|
||||||
export PATH=${PWD}/../bin:${PWD}:$PATH
|
export PATH=${PWD}/../bin:${PWD}:$PATH
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/operator@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/operator@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ Note that we need to call the initialize function before being able to use any f
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -117,7 +117,7 @@ Now that we have initialized the contract and created the identity of the minter
|
||||||
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
Shift back to the Org1 terminal, we'll set the following environment variables to operate the `peer` CLI as the minter identity from Org1.
|
||||||
```
|
```
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org1MSP"
|
export CORE_PEER_LOCALMSPID=Org1MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org1.example.com/users/minter@org1.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:7051
|
export CORE_PEER_ADDRESS=localhost:7051
|
||||||
|
|
@ -161,7 +161,7 @@ Let's prepare the Org2 terminal by setting the environment variables for the Org
|
||||||
```
|
```
|
||||||
export FABRIC_CFG_PATH=$PWD/../config/
|
export FABRIC_CFG_PATH=$PWD/../config/
|
||||||
export CORE_PEER_TLS_ENABLED=true
|
export CORE_PEER_TLS_ENABLED=true
|
||||||
export CORE_PEER_LOCALMSPID="Org2MSP"
|
export CORE_PEER_LOCALMSPID=Org2MSP
|
||||||
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
export CORE_PEER_MSPCONFIGPATH=${PWD}/organizations/peerOrganizations/org2.example.com/users/recipient@org2.example.com/msp
|
||||||
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt
|
||||||
export CORE_PEER_ADDRESS=localhost:9051
|
export CORE_PEER_ADDRESS=localhost:9051
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue