I am following this tutorial, and trying to build the network. However, when I tried to run this command:./ byfn.sh -m up
, but I got the following error:
Error: failed to create deliver client: failed to load config for OrdererClient: unable to load orderer.tls.rootcert.file: open /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem: no such file or directory
Can anyone help me with that? Thanks very much! enter image description here
I was facing the same issue as you are facing
Error: failed to create deliver client: failed to load config for OrdererClient: unable to load orderer.tls.rootcert.file: open /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem: no such file or directory
In my case I was entering my local path instead "/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto" this path. So I just copied my machine path from terminal and appended to the file path this resolved my issue.
Hope this will help in your case as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With