I was running Hyperleddger byfn, to bring up the first network, on Mac. Each time I got this error above. What I tried so far for resolutio:
docker rm -f $(docker ps -aq) — del existing containers docker rmi -f $(docker images -a) — del existing images./byfn.sh -m down./byfn.sh -m generate./byfn.sh -m up
But I keep getting the same error. Also tried executing the command line in byfn script - where the error is generated, separately on docker cli
docker exec cli peer channel create -o orderer.example.com:7050 -c mychannel -f./channel-artifacts/channel.tx --tls true --cafile /Users/debg/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
Error: failed to create deliver client: failed to load config for OrdererClient: unable to load orderer.tls.rootcert.file: open /Users/debg/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem: no such file or directory
But I can clearly see the.pem file on the same folder, with 755 access through all the directories in the hierarchy and the file. Can anyone please help?
The given path: /Users/debg/fabric-samples/first-network/crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
is checked inside your cli
docker container.
Can you please confirm if the certificate is correctly getting mounted to that location inside the cli
container?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.