fabric-samples icon indicating copy to clipboard operation
fabric-samples copied to clipboard

error checking context: 'no permission to read from /'<my app path>/test-network/organizations/fabric-ca/ordererOrg/msp/keystore/<key>_sk''.

Open joe-cryptosecurellc opened this issue 3 years ago • 0 comments

Using 2.2.4/1.5.2 on Ubuntu 18.04 LTS host. I have a containerized API server (similar to asset-transfer-events sample app) that will perform transactions with the 2 peers/chaincode and 1 orderer. The API Server creates a gateway to the peers and wallets for the orgs, and tries to enroll admin and user if not in the wallet.

Step 1 - ./network.sh up createChannel -c mychannel -ca --> successful Step 2 - ./network.sh deployCC -ccs 1 -ccv 1 -ccep "OR('Org1MSP.peer','Org2MSP.peer')" -ccl javascript -ccp ./../chaincode/myChainCode/ -ccn events --> successful Step 3: cd to my containerized API Server Step 4: npm start -->

docker-compose up Building api error checking context: 'no permission to read from 'test-network/organizations/fabric-ca/ordererOrg/msp/keystore/_sk''.

The ACLs on the key: owned by root, read and write only by root.

Question: How would I find what is checking these privileges, since the API server image has not yet created

joe-cryptosecurellc avatar Feb 14 '22 18:02 joe-cryptosecurellc