Questions tagged [hyperledger-fabric-ca]
368 questions
2
votes
1 answer
Adding custom Node OUs with Hyperledger Fabric
I am trying to add custom Node OU in policy definition inside the configtx.yaml file. The policy definition is present in Application section of configtx.yaml file as follows:
Application: &ApplicationDefaults
# Organizations is the list of orgs…

Chintan Rajvir
- 689
- 6
- 20
2
votes
0 answers
fabric-ca-client --csr.cn flag on nodeJS
As we know --csr.cn its the common name field of the certificate signing request. And using fabric-ca-client we can point --csr.cn ca.myOrg, but nodeJS fabric-ca-client expect certificate.
How i can do somefing like this:
fabric-ca-client enroll -u…

Andrey76ru
- 37
- 4
2
votes
1 answer
Generate TLS Certs using fabric-ca-server
I am searching for a way to generate TLS certs for nodes using a fabric-ca-server. I am using fabric-ca-client. I have used cryptogen tool to generate the TLS certs to get something like this.
tls
├── ca.crt
├── server.crt
└── server.key
Running…

ghost94
- 29
- 3
2
votes
1 answer
Hyperledger Fabric CA: can't execute GetAllIdentities() after admin's affiliation change
I registered users (with affiliation "org1.department1") using registrar Admin (without affiliation field). Then my admin is blocked because the wrong password was entered 10 times. I'm trying to get user identities using another admin (with…

ErvingGoffman
- 189
- 1
- 3
- 17
2
votes
1 answer
Getting error no such container: cli when running hyperledger fabric samples first network
I was run successfully first network and fabcar, then i tried to run commercial paper. here i got this error no such container cli. now i tried back first network there is also the same error.
I am running hyperledger fabric 1.4 on ubuntu 18.4 with…

Noor Khan
- 151
- 1
- 9
2
votes
0 answers
Fabric CA bootstrap Identity can be admin for organisation
I have one organisation org0 with fabric CA ca-0, We bootstap the CA identity which i showed in below command:
sh -c 'fabric-ca-server start -b admin:adminpw -d'
when this command is executed its create the Admin for fabric CA.
Is it same has…

nagaraj
- 797
- 1
- 6
- 29
2
votes
1 answer
Initialise fabric ca with modified fabric-server-config
I am using the docker-compose for running the fabric ca as shown below. I want to start the fabric ca with updated fabric-ca-server.config file. I have fabric-ca-server-config, i have modified it, I want to initialise when i run the docker. please…

nagaraj
- 797
- 1
- 6
- 29
2
votes
1 answer
Failed to connect to Postgres database Postgres requires connecting to a specific database, the following databases were tried:
I'm getting this error when i try to connect my fabric-ca to use postgres as a database.
Using postgres database, connecting to database...
2019/10/22 09:21:16 [DEBUG] Database Name: fabriccaserver
2019/10/22 09:21:16 [DEBUG] Connecting to…

Adarsha Jha
- 1,782
- 2
- 15
- 37
2
votes
1 answer
how to take backup of hyperledger fabric ca?
If my ica goes down , how to restart with all the previously stored certificates.
how to take backup of hyperledger fabric ica (ca generated using rootca )?

Adarsha Jha
- 1,782
- 2
- 15
- 37
2
votes
1 answer
fabric-sdk-node fails to retrieve the context of an existing user
I've got some problems while calling the function getUserContext(name, checkPersistence), so far I know it fails only when I try to get the context of an existing user, but it does work with non existing users.
The code I use to create the…

Rafael Galán López
- 71
- 1
- 1
- 6
2
votes
0 answers
How to correctly set Fabric-CA with a PostgreSQL-11 database in Ubuntu 18.04.02 Server Edition?
Following the indications here: https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/users-guide.html#configuring-the-database I'm trying to understand how to correctly set Fabric-CA with a PostgreSQL-11 database in Ubuntu 18.04.02 Server…

user2315094
- 759
- 3
- 16
- 29
2
votes
2 answers
Can't setup mysql database for fabric-ca server due to certificate error
I am trying to setup Hyperledger fabric-ca using mysql database using this link: http://fabric-ca.readthedocs.io/en/latest/users-guide.html
Following the content in the link, I am trying to setup fabric-ca-server with mysql as DB and I am specifying…

Trinayan
- 867
- 6
- 15
2
votes
2 answers
Unable to understand what wrong is going on after creating certifcates and replacing them in the ledger
I have been trying to use the custom certs generated by openssl in the hyperledger fabric 1.3 fabcar example where it uses basic network of 1 ordered and 1 peer(1 org). I have generated all the certs required and replaced them but I have been…

raza sikander
- 143
- 13
2
votes
1 answer
Identity management on Hyperledger Fabric
I am using Hyperledger fabric 1.4.1 and the latest versions of fabric-contract-api for the smart contracts, fabric-client for the low level APIs to manage channel creation and chaincodes, and fabric-network for interaction with the peers. I have…

Varun Agarwal
- 1,587
- 14
- 29
2
votes
0 answers
Hyperledger Fabric SDK connection profile configuration in production mode
I was going through the Hyperledger fabric Node SDK tutorial to use a common connection profile given here.
In connection profile, there was some sensitive information such as adminPrivateKey and signedCert that are reserved for organization…

Sourav
- 145
- 1
- 14