cert is command line utility to generate a self-signed X.509 certificate
for a TLS server. Outputs to cert.pem
and key.pem
and will overwrite
existing files. It is based on the generate-cert
tool included with the go source -- only slightly modified to take more arguments.
None, binaries are statically linked. If you want to compile from source you need the go toolchain.
- Save binary to a location in your PATH (i.e.
/usr/local/bin/
)
- cert-darwin-386.tar.gz
- cert-darwin-amd64.tar.gz
- cert-freebsd-386.tar.gz
- cert-freebsd-amd64.tar.gz
- cert-linux-386.tar.gz
- cert-linux-amd64.tar.gz
- cert-linux-arm.tar.gz
- cert-linux-arm5.tar.gz
- cert-windows-386.tar.gz
- cert-windows-amd64.tar.gz
$ cert -host example.com -org "Acme Co" -years 1
2013/02/02 16:45:56 written cert.pem
2013/02/02 16:45:56 written key.pem