问题
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