Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki
Created July 30, 2018 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichalZalecki/edcfa16f9a135d0622688e98830297b2 to your computer and use it in GitHub Desktop.
Save MichalZalecki/edcfa16f9a135d0622688e98830297b2 to your computer and use it in GitHub Desktop.
const serverCert = fs.readFileSync('../crypto-config/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/tlscacerts/tlsca.org1.example.com-cert.pem', 'utf8');
const ordererCert = fs.readFileSync('../crypto-config/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem', 'utf8');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment