check-cert-net

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 11 Imported by: 0

README

check-cert-net

Check a remote certification expiry using openssl s_client.

Usage

% ./check-cert-net -h
Usage:
  check-cert-net [OPTIONS]

Application Options:
  -H, --host=              Hostname (default: localhost)
  -p, --port=              Port (default: 443)
      --servername=        servername in ClientHello
      --verify-servername  verify servername
      --timeout=           Timeout to connect to server (default: 5s)
      --rsa                Preferred aRSA cipher to use
      --ecdsa              Preferred aECDSA cipher to use
  -c, --critical=          The critical threshold in days before expiry (default: 14)
  -w, --warning=           The threshold in days before expiry (default: 30)
  -v, --version            Show version

Help Options:
  -h, --help               Show this help message
$ check-cert-net --servername example.com --host 127.0.0.1 --port 443 --rsa -w 10 -c 7
check-cert-net OK: Expiration date: 2020-07-02, 62 days remaining

Install

$ mkr plugin install kazeburo/check-cert-net

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL