Questions tagged [hyperledger-fabric-ca]

368 questions
3
votes
1 answer

How to use openldap with fabric-ca in hyperledger fabric?

I want to use openldap docker container with fabric-ca , I've been searching on internet for a week now. Is there anyone in the community who have tried or implemented ?
Adarsha Jha
  • 1,782
  • 2
  • 15
  • 37
3
votes
2 answers

What is the difference between "enroll" and "reenroll" in the context of Fabric CA?

In the Fabric-CA Client’s CLI documentation(https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/clientcli.html) , there are two commands named "enroll" and "reenroll" respectively. Could any expert tell me the difference between them?…
Lin Corey
  • 141
  • 11
3
votes
1 answer

hyperledger fabric calling enrollment endpoint failed with error

I was trying to deploy hyperledger fabric on multiple hosts using this code and used the balance transfer chaincode using node-SDK. While I tried to enroll the user, I got the following error: [2019-01-10 18:12:20.635] [ERROR] Helper -…
3
votes
2 answers

Hyperledger Fabric Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP]

I'm trying to interact with the peers from JavaScript and I keep getting { Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP] at Object.exports.createStatusError…
3
votes
1 answer

gRPC failure, when executing chaincode on Hyperledger Fabric Blockchain on multiple nodes

I would like to run my own hyperledger blockchain on multiples nodes. I have the following setup: My Ubuntu PC is hosting one orderer, peer, couch db, CA server. My Raspberry Pi (running Ubuntu Mate) is hosting: one peer and couch db. The both nodes…
3
votes
4 answers

fabric CA client user enrolment authorisation failure

I am trying to enroll admin after initialising fabric CA server with: fabric-ca-server init -b “admin:adminpw” And starting CA server with: fabric-ca-server start -b “admin:adminpw” At client-side, enroll command: fabric-ca-client enroll -u…
3
votes
2 answers

Can 2 peers of different ORG instantiate same ChainCode and submit transactions?

I have used BYFN to create a fabric network, with configuration 2 ORG with each ORG having 2 peers (each having their own couch-db as state db), 1 orderer and 2 fabric-ca. Now, I installed a chaincode(named as ordering-network) on peer0.org1 and…
3
votes
1 answer

Could not start orderer with ca file generated by ca server in fabric

I start ca server with the test code in fabric-ca-sdk(fabric-sdk-java/fabric-sdk-java/src/test/fixture/sdkintegration).and use fabric sdk to enroll an orderer and get the ca file from the response. and then I put the ca file to the first network…
shaotine
  • 249
  • 3
  • 15
2
votes
1 answer

Failed to evaluate transaction: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL

I want to query an asset on hyper ledger fabric blockchain. I have defined a function queryCar for it. Car is an asset on the blockchain with four/five different properties, like model, color, etc.(I have copied the chaincode directly from the…
2
votes
0 answers

Hyperledger Fabric Help? ERRO 001 Cannot run peer because error when setting up MSP

I'm having issue running a test channel setup for hyperledger fabric setup. I'm following the docz, but the setup isn't working: docker exec cli peer channel create -c mychannel \ > -f /opt/home/mychannel.pb -o $ORDERER \ > --cafile…
2
votes
2 answers

Hyperledger Fabric: Why doesn't cryptogen generate all the necessary crypto material to register new users?

I am using cryptogen to generate all of the crypto material for the Fabric network I am building. I can successfully bring the network up and deploy chaincode. However, I am running into problems when trying to register a new user. I am following…
2
votes
4 answers

When I used msp in fabric-sdk-go to register users with CA, an error occurred

The error is as follows: Register return error: failed to register user: failed to register user: Response from server: Error Code: 20 - Authentication failure The relevant part of the code is as follows: import ( [...] mspclient…
2
votes
1 answer

Key usage in Hyperledger Fabric node TLS Certificates

I am generating certificates in Hyperledger Fabric using the Fabric CA. I am passing a self-signed certificate as the root certificate for both enrollment and TLS certificate issuance in HLF. It is for testing purpose and so same Fabric CA (single…
2
votes
1 answer

Error with msp when try to Launch Peers with Fabric-ca

Currently, I follow the Fabric CA Operation Guide -> https://hyperledger-fabric-ca.readthedocs.io/en/latest/operations_guide.html# with Fabric-ca-1.4.7. But When I try to launch a peer with docker (peer1-org1) Some errors occurs like : ERRO 030…
2
votes
2 answers

facing error while enroll and register in hyperledger fabric using node SDK

I need help guys. I am developing custom HLF network with 2Orgs.The Fabric network is perfectly working with cli ,when i want to connect with node sdk ,then error come. i succesfully enrolled the admin but failed to register the user and faces error…
1
2
3
24 25