failed to invoke chaincode, error: tls: failed to find any PEM data in certificate input failed to load client certificate #2627
Unanswered
GeorgePals
asked this question in
Q&A
Replies: 1 comment
-
@GeorgePals I was having same error and as there is hardly any documentation on how to create connection.json or related items for TLS enabled chaincode, I also spent many days and google searches to find a solution. I was finally able to run the chaincode with tls. Here are my observations:
In your updated error message |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Please, read the edit at the end of the post.
I'm trying to bring up some external chaincodes. However, I'm having some difficulties.
While the external CCs work without TLS, when I'm trying to enable it, I'm getting the title's error.
The
connection.json
file (I removed some parts from the certs to reduce their size):Here you can see the error log from the peer:
and
The Builders
Build:
Detect:
Release:
Run:
Thanks! Any suggestions will be much appreciated!
Edit: After some time, I "achieved" to have a different error message:
Beta Was this translation helpful? Give feedback.
All reactions