Connecting to a Hyperledger Fabric CA-Server using

2019-08-27 18:39发布

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条回答
你好瞎i
2楼-- · 2019-08-27 19:41

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.

查看更多
登录 后发表回答