hyperledger-fabric-ca

Hyperledger Fabric docs on Membership Service Provider - Questions

送分小仙女□ 提交于 2019-12-07 00:53:25
问题 I read the docs on Hyperledger Fabric Membership Service Providers (MSPs) and not everything was really clear to me. The link to the part of the docs on MSPs is this: https://hyperledger-fabric.readthedocs.io/en/release-1.2/membership/membership.html Quote from the docs: This is where a Membership Service Provider (MSP) comes into play — it identifies which Root CAs and Intermediate CAs are trusted to define the members of a trust domain, e.g., an organization, either by listing the

Use fabric-ca without mutual TLS in production?

妖精的绣舞 提交于 2019-12-06 09:32:16
问题 I am wondering if it is strongly discouraged to use fabric-ca without mutual TLS in production. I am planning to operate a fabric network where a lot of peers, applications and users will be added automatically and the cryptogen tool will not be used. Instead a second fabric-ca will be used to issue TLS certificates. Those certificates will be used for client authentication with the MSP fabric-ca and the peers etc. The TLS fabric-ca does not perform client authentication because new users

Hyperledger-Composer: Issuing identity using REST-API results in error message “fabric-ca request register failed”

两盒软妹~` 提交于 2019-12-05 20:14:12
I have created a hyperledger-composer application with an Angular frontend and multi-user authentication. The admin can create a new participant and issue an identity for this participant. Adding the participant to the network works fine. But the second step - issuing an identity for this new participant results in the following error message: "message": "fabric-ca request register failed with errors [[{\"code\":20,\"message\":\"Authorization failure\"}]]", ... see the following screenshots: and The method causing this error message is the following: createBusinessNetworkCardFile

Hyperledger Fabric SDK - https & TLS Cert / Key

梦想与她 提交于 2019-12-05 13:09:09
Note: I am using the Go SDK, but this should apply to Node, Java, etc. SDKs. I am using a fabric-ca instance as my Certificate Authority, and for a realistic production environment I need to use a secure connection. Based on the config-e2e.yaml example configuration file [1], we should be able to use https in the CA url. Example: certificateAuthorities: org1-ca: url: https://localhost:7054 However, once https is required, the SDK requires that the TLS cert/key filepath is added in the client section [1]: tlsCACerts: # Comma-Separated list of paths path: {filepath} # Client key and cert for SSL

User registration & login in Hyperledger fabric

荒凉一梦 提交于 2019-12-05 06:35:26
问题 I am working on a project where I need the functionality of user registration and user login. I need some suggestion. What would be the better way of achieving this task? A.) Old school email & password OR B.) By using public & private keys? What I understand from option B is that we need to enroll a user from CA from Fabric-SDK . Once enrolment of user is done, we can generate a unique password-phrase like the same is happening in Meta-Mask . We can store that user info along with its

Hyperledger Fabric docs on Membership Service Provider - Questions

风格不统一 提交于 2019-12-05 05:04:58
I read the docs on Hyperledger Fabric Membership Service Providers (MSPs) and not everything was really clear to me. The link to the part of the docs on MSPs is this: https://hyperledger-fabric.readthedocs.io/en/release-1.2/membership/membership.html Quote from the docs: This is where a Membership Service Provider (MSP) comes into play — it identifies which Root CAs and Intermediate CAs are trusted to define the members of a trust domain, e.g., an organization, either by listing the identities of their members, or by identifying which CAs are authorized to issue valid identities for their

Use fabric-ca without mutual TLS in production?

落花浮王杯 提交于 2019-12-04 17:36:04
I am wondering if it is strongly discouraged to use fabric-ca without mutual TLS in production. I am planning to operate a fabric network where a lot of peers, applications and users will be added automatically and the cryptogen tool will not be used. Instead a second fabric-ca will be used to issue TLS certificates. Those certificates will be used for client authentication with the MSP fabric-ca and the peers etc. The TLS fabric-ca does not perform client authentication because new users will have enrollmentID+secret but no client certificates. I Illustrated the registration process in this

What is diffrence between enrolling and registering a certificate in Hyperledger fabric CA

时光总嘲笑我的痴心妄想 提交于 2019-11-30 16:10:01
问题 What exactly is difference between enrolling and registering a certificate in Hyperledger Fabric CA. I am new to cryptography and i am really confused about the working of Fabric CA. Also how are certificates generated via cryptogen is diffrent from certificates generated via Fabric CA. 回答1: So from what i understand when you "enrol" an identity you get the certificates and private keys for it. When you "register" the identity, you are simply creating the user name and password for that