Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 551 Bytes

README.md

File metadata and controls

42 lines (35 loc) · 551 Bytes

check-cert-expire

Installation

Binary

Download binary from https://github.com/tetsun/check-cert-expire/releases.

Go get

go get github.com/tetsun/check-cert-expire

Usage

See help.

check-cert-expire -h

Examples

Basic

$ check-cert-expire google.com
2017-10-31 12:39:00 +0000 UTC
# => 0

Check delay

$ check-cert-expire -d 90 google.com
2017-10-31 12:39:00 +0000 UTC
# => 65

Silent mode (for script)

$ check-cert-expire -s google.com
# => 0