-
Notifications
You must be signed in to change notification settings - Fork 13
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
Running ./kfg - x509: certificate signed by unknown authority #3
Comments
thanks @lcvalves for reporting the error. It turns out that the TLS CA cert I just checked in an updated CA cert. Please try it out and let us know if you still encounter problems. |
I've tried restarting the process in different ways but failed to get through the aforementioned stage. Pulled the new commit to fix the CA cert, restarted the environment with new env variables, and still got stuck on a similar log
|
I was able to try it successfully against a Kaleido network in Paris (francecentral):
Are you using the sample app as-is or wrote your own client code? Note that the sample code turned off server TLS verification:
From the error you are seeing it's likely that you set |
Regarding that, I forgot to mention that I'm using the System
Kaleido Network/Env Config
Chaincode
I've tried downloading the MSP CA certificate from Kaleido and replacing both the I'm guessing the TLS verification you mentioned is on |
Hi, i'm testing out this repo with the asset-transfer-basic fabric sample chaincode and got into some issues along the way. I've been following this video and successfully built the kfg executable and exported my env variables correctly as mentioned in the repo's golang README.md (this includes APIKEY, KALEIDO_URL, USER_ID, etc...).
However, when I run
./kfg
, I get the following log:I'm guessing the error comes from
x509: certificate signed by unknown authority
, so I made sure to confirm the client's membership identity with a Self-Signed x509 CA on the Kaleido Platform. The error still came up and so I tried to estabilish its identity on-chain but this functionality isn't available on Fabric.Also, everytime I get this log output, I increment my USER_ID by 1 so it can properly (try to) enroll a new user.
How could I fix this? My end goal is to invoke the uploaded asset-transfer-basic chaincode so I can then test out my own contracts on the platform.
The text was updated successfully, but these errors were encountered: