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

Connectivity Issue #8

Open
rafa977 opened this issue Nov 26, 2021 · 0 comments
Open

Connectivity Issue #8

rafa977 opened this issue Nov 26, 2021 · 0 comments

Comments

@rafa977
Copy link

rafa977 commented Nov 26, 2021

Hello,

I have imported the SDK to my project and I wanted to query the already setup hyperledger fabric network that I have, but unsuccessfully. Since I have enrolled already the user I tried using his private key, public key and certificate as inputs when initializing a new user with the Identity model and use this to generate the csr. I never actually get it to work.

Always getting an error on the line:

enrollment_response = fabric_ca_client.enroll(user_identity.generate_csr([%w(CN admin)]))

Also, I tried using a new identity as you have in the enroll example in order to enroll but I always get an error:

SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)

Most of the times I get this error although I have successfully created the network in a side directory, created users and query or invoke the chaincode with them through the HF cli.

Is there anywhere I could get more help on this? Is this still a functional repo?

Thank you

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

1 participant