Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new peer gateway samples only work if test-network is deployed with CAs #592

Closed
davidkel opened this issue Jan 23, 2022 · 5 comments
Closed

Comments

@davidkel
Copy link
Contributor

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

@shashwot2
Copy link

Hi. I also noticed this. Are you using any workarounds currently?

@davidkel
Copy link
Contributor Author

@shashwot2 you would either have to change the sample code to reference the right file, or bring up testnetwork with cas

@shashwot2
Copy link

That makes sense. Thanks!

@nikhil550
Copy link
Contributor

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.

@bestbeforetoday
Copy link
Member

I think PR #1183 resolves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants