Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki MichalZalecki/change.js Secret
Created Jul 30, 2018

What would you like to do?
const serverCert = fs.readFileSync('./crypto-config/peerOrganizations/', 'utf8');
const peer = fabric_client.newPeer('grpcs://localhost:7051', { pem: serverCert, 'ssl-target-name-override': '' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.