The requirements to build CFSSL
are:
- A running instance of Docker
- The
bash
shell
To build, run:
$ script/build
This is will build by default all the cfssl command line utilities for darwin (OSX), linux, and windows for i386 and amd64 and output the binaries in the current path.
To build a specific platform and OS, run:
$ script/build -os="darwin" -arch="amd64"
Note: for cross-compilation compatibility, the Docker build process will build programs without PKCS #11.
The requirements to build without Docker are:
- Go version 1.5 is the minimum required version of Go.
- A properly configured go environment
- A properly configured GOPATH
- With Go 1.5, you are required to set the environment variable
GO15VENDOREXPERIMENT=1
Run:
$ go install github.com/cloudflare/cfssl/cmd/...