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

前端 未结 3 1299
独厮守ぢ
独厮守ぢ 2021-01-02 20:13

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 F

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-02 20:24

    Registering identity means adding its details in Fabric CA.

    Enrolling means process when registered identity connects to CA and sends Certificate Signing Request (CSR) to it. CA checks if the identity is registered and performs some other validations, if checks are successful then it returns signed certificate to the identity. Since the certificate is signed by CA trusted by blockchain network, the identity has now means to interact with the network using this certificate.

    So, to make the identity being able to interact with the network it must pass two steps in this particular sequence:

    1. Be registered on CA
    2. Be enrolled

    Admin is preregistered in CA using when it is started

    fabric-ca-server start -b admin:adminpw

    The details are here: https://hyperledger-fabric-ca.readthedocs.io/en/release-1.4/users-guide.html

    also you can refer to source

提交回复
热议问题