The new peer gateway samples only work if test-network is deployed with CAs
If you deploy a test-network using cryptogen then the peer gateway samples fail because the name of the certificates and private keys are different when generating the identities via cryptogen to that of the identities generated by a CA and the samples are hardcoded with the CA names
Hi. I also noticed this. Are you using any workarounds currently?
@shashwot2 you would either have to change the sample code to reference the right file, or bring up testnetwork with cas
That makes sense. Thanks!
I think encouraging people to bring up the test network with CAs is a good thing. I remember we thought about removing cryptogen altogether when the sample was created.
I think PR #1183 resolves this issue.