Closed warm3snow closed 7 years ago
you can close fabric TLS , then restart server try it !
I have disabled the TLS, but still have the problem.
I have the same issue for fabric basic-network example. It can't connect to peer node with reason:
returned x509: certificate signed by unknown authority
I have exactly the same issue, and I tried it for 2 times still the same error.
Did anyone solve this problem? I was stuck here for several days.
Any updates on this issue? Getting this in examples with HLFv1.1? When I execute the query all commando in the docker container itself, I get the expected results. But when using the query.js script, it fails as it uses the user1 certificate (when using docker exec I use admin cert).
Just check when you regenerate your certificates, in the docker-compose.yml, update the filename for the CA certificate. It changes when you regenerate your certificates
I have changed the FABRIC_CA_SERVER_CA_KEYFILE with the generated artifacts of ca but still got the same error
POST /api/v1/register 401 26 "Untrusted certificate: Failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.epo1.epo.com")"
I am also trying to add node sdk for my fabric multi host application. my CA and peers also has the environmental variable FABRIC_CA_SERVER_CA_KEYFILE and pointing to the ca certificate as well. i can able to query/invoke from the docker bash prompt.
When i am trying to query/invoke using the node sdk facing the same error, As mentioned below,
error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: Failed to deserialize creator identity, err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority at new createStatusError (/scratch/node_SDK/fabric-test/nodejs/node_modules/grpc/src/client.js:64:15) at /scratch/node_SDK/fabric-test/nodejs/node_modules/grpc/src/client.js:583:15
Is anybody resolved this error means, kindly post the solution here for reference.
Any update on this issue?