Connecting to a Hyperledger Fabric CA-Server using an endpoint device

不问归期 提交于 2019-12-11 18:10:10

问题


I have setup a Hyperledger Fabric CA-Server on an Ubuntu machine. I have enrolled an admin and also tried enrolling a few users. It worked perfectly fine.

I now want to register a few users through a Windows machine (Client) by sending requests to the validator machine.

  • How do I proceed for this?
  • What are the prerequisites to be installed in the client machine?
  • How do I make use of the APIs of the Fabric network? Currently, it says, 'Listening on http://0.0.0.0:7054'. Should the Firewall be disabled?

回答1:


There are two methods for managing users from a client machine, as follows:

  • The fabric-ca-client CLI - documentation here. The compiled binary can be downloaded from the Hyperledger Nexus Repository here.
  • The FabricCAClient class in the Hyperledger Fabric Node SDK - documentation here. Sample code can also be found here in the fabric-samples repository. Prerequisites and setup instructions here.

Both of these methods use the Fabric CA API to communicate with the Fabric CA server.



来源:https://stackoverflow.com/questions/53664791/connecting-to-a-hyperledger-fabric-ca-server-using-an-endpoint-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!