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

Clone this repo:
  1. d2c12f6 Bump version to v0.5.2 by Jess Frazelle · 9 weeks ago master v0.5.2
  2. a81f123 update readme by Jess Frazelle · 9 weeks ago
  3. d7f5f06 use new cli package by Jess Frazelle · 9 weeks ago
  4. 1f8b378 update generated project files by Jess Frazelle · 9 weeks ago
  5. 5206c60 Bump version to v0.5.1 by Jess Frazelle · 10 weeks ago v0.5.1

certok

Travis CI GoDoc Github All Releases

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

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/genuinetools/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 -  A tool to check the validity and expiration dates of SSL certificates.

Usage: certok <command>

Flags:

  -all     Show entire certificate chain, not just the first. (default: false)
  -d       enable debug logging (default: false)
  -days    Warn if the certificate will expire within this many days. (default: 0)
  -months  Warn if the certificate will expire within this many months. (default: 0)
  -years   Warn if the certificate will expire within this many years. (default: 0)

Commands:

  version  Show the version information.