Command line tool to check the validity and expiration dates of SSL certificates.

Clone this repo:
  1. 83baf91 update deps by Jess Frazelle · 6 days ago master
  2. ca96e49 fix travis by Jess Frazelle · 6 days ago
  3. e70a8a6 Bump version to v0.3.0 by Jess Frazelle · 8 weeks ago v0.3.0
  4. 64ee5b5 update vendor by Jess Frazelle · 8 weeks ago
  5. 15ab5fa Bump version to v0.2.0 by Jess Frazelle · 8 weeks ago v0.2.0

certok

Travis CI

Command line tool to check the validity and expiration dates of SSL certificates.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/certok

Usage

Pass a line deliminated file filled with hostnames to either stdin or the first argument of the command. For example:

$ certok ~/hostsfile
NAME                 SUBJECT            ISSUER                        ALGO           EXPIRES     SUNSET DATE
telize.j3ss.co:443   telize.j3ss.co     Let's Encrypt Authority X3    SHA256-RSA     77 days
r.j3ss.co:443        r.j3ss.co          Let's Encrypt Authority X3    SHA256-RSA     77 days
contained.af:443     contained.af       Let's Encrypt Authority X3    SHA256-RSA     77 days
$ certok -h
certok - v0.3.0
  -all
        Show entire certificate chain, not just the first.
  -d    run in debug mode
  -days int
        Warn if the certificate will expire within this many days.
  -months int
        Warn if the certificate will expire within this many months.
  -v    print version and exit (shorthand)
  -version
        print version and exit
  -years int
        Warn if the certificate will expire within this many years.