certigo
Certigo is a utility to examine and validate certificates in a variety of formats.
Install
To install certigo, simply use:
go get github.com/square/certigo
Note that certigo requires Go 1.6 or later to build.
Develop
We use glide for managing vendored dependencies.
Usage
Certigo can read certificates/keystores in various formats and dump them to stdout.
Currently supported formats are DER, PEM, JCEKS and PKCS12. It's a one-stop shop for debugging/analyzing certs.
For example (from stdin):
Or from a file:
You can dump a cert chain from a TLS server. Unlike openssl x509 -text
, certigo will dump the entire chain, not just the first certificate: