安装Fabric CA
使用下面的命令在$GOPATH/bin目录下安装fabric-ca-server和fabric-ca-client:
go get -u github.com/hyperledger/fabric-ca/cmd/...
注意:如果你已经克隆了fabric-ca仓库,要确保在运行上述命令时 你选中了master分支,否则你可能看到如下错误:
<gopath>/src/github.com/hyperledger/fabric-ca; git pull --ff-only
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> tlsdoc
package github.com/hyperledger/fabric-ca/cmd/fabric-ca-client: exit status 1