本文介绍了Fabric CA服务器和CA Client之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Fabric CA Server和Fabric CA Client的功能是什么?

What are the functions of the Fabric CA Server and Fabric CA Client?

Fabric CA Server和Fabric CA Client的作用是什么?

What are the Roles of the Fabric CA Server and Fabric CA Client?

谢谢

推荐答案

Fabric CA提供了以下功能:

Fabric CA provides features such as:

  1. 注册具有对等角色,用户或应用程序角色的身份,或作为用户注册表连接到现有的LDAP,以获取所提到角色的身份.
  2. 签发用于签名和识别的入学证书(ECerts)
  3. 颁发交易证书(TCert),在Hyperledger Fabric区块链上进行交易时提供匿名性和不可链接性(v1.0中尚不可用)
  4. 证书续订(通过重新注册)和吊销(使用PKI的证书吊销列表功能)

您需要设置Fabric CA服务器来为您的Fabric网络托管一个或多个证书颁发机构(Fabric CA)(基于MSP )使用以下命令行选项:

You need to setup the Fabric CA server to host one or more Certification Authorities (Fabric CA) for your Fabric Network (based on the MSPs What is the difference between MSP and Fabric CA?)using the following Command Line Options:

http://hyperledger-fabric-ca.readthedocs.io /en/latest/servercli.html

客户端只是为服务器组件提供接口的组件.但是,您可以跳过使用fabric-ca-client的操作,而使用Fabric Server的REST API并执行上述所有功能. fabric-ca-client只是丑陋的REST调用的一个很好的包装.

The client is just the component that provides an interface to the server component. However, you can skip using the fabric-ca-client and use the REST API of the Fabric Server and do all the functionalities mentioned above. The fabric-ca-client is just a nice wrapper to the ugly REST calls.

您可以使用以下任一方法来探索Fabric CA客户端的功能:

You can explore the functionalities of the Fabric CA client using either one of the following:

  1. REST API( https://github.com/hyperledger/fabric-ca/blob/master/swagger/swagger-fabric-ca.json )
  2. http://hyperledger-fabric-ca.readthedocs.io /en/latest/clientcli.html
  3. 用于开发应用程序的语言的Fabric CA SDK客户端(节点,Java等).
  1. REST API (https://github.com/hyperledger/fabric-ca/blob/master/swagger/swagger-fabric-ca.json)
  2. http://hyperledger-fabric-ca.readthedocs.io/en/latest/clientcli.html
  3. Fabric CA SDK Clients (Node, Java, etc) for the language you are developing your app in.

这篇关于Fabric CA服务器和CA Client之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 05:22