Hyperledger fabric authentication

2019-08-28 09:20发布

问题:

I am developing a blockchain network using Hyperledger Fabric (1.4) and I wanted to know if there's any User authentication mechanism for Fabric. For composer-rest-server there's passport but for fabric, I can't seem to find one.

回答1:

The main authentication mechanism in Hyperledger Fabric are Membership Service Providers (MSP). You set these up in parallel to the blockchain and can connect them to LDAP, for example.

For authentication a MSP issues a certificate for a user's public key, which can then be used to authenticate.

More info on MSPs in the Hyperledger Docs: https://hyperledger-fabric.readthedocs.io/en/release-1.4/msp.html