Go to file
2022-05-28 21:36:09 +08:00
.dockerignore build with golang:1.18-alpine3.15 2022-04-18 23:48:51 +08:00
.drone.yml build with golang:1.18-alpine3.15 2022-04-18 23:48:51 +08:00
.gitignore Ignore vendor/ 2020-05-10 16:11:01 +08:00
config.go Make it possible to change timeout value 2020-05-10 17:12:16 +08:00
Dockerfile build with golang:1.18-alpine3.15 2022-04-18 23:48:51 +08:00
go.mod Upgrade gopkg.in/yaml.v2 => gopkg.in/yaml.v3 2022-05-28 21:36:09 +08:00
go.sum Upgrade gopkg.in/yaml.v2 => gopkg.in/yaml.v3 2022-05-28 21:36:09 +08:00
hosts.yaml Simplified README.md 2020-05-10 17:20:26 +08:00
LICENSE Update year 2022 2022-03-19 21:49:43 +08:00
main.go Make it possible to change timeout value 2020-05-10 17:12:16 +08:00
README.md build with golang:1.18-alpine3.15 2022-04-18 23:48:51 +08:00
utils.go Upgrade gopkg.in/yaml.v2 => gopkg.in/yaml.v3 2022-05-28 21:36:09 +08:00

SSL certificate checker written in golang

GoDoc Go Report Card GitHub go.mod Go version

Docker Stars Docker Pulls

Usage

docker run --rm -v $(pwd)/hosts.yaml:/opt/hosts.yaml:ro -it guessi/ssl-certs-checker --help

NAME:
   SSL Certificate Checker - check SSL certificates at once

USAGE:
   ssl-certs-checker [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config value, -C value   config file
   --timeout value, -t value  dialer timeout in second(s) (default: 5)
   --help, -h                 show help (default: false)

Sample Output

docker run --rm -v $(pwd)/hosts.yaml:/opt/hosts.yaml:ro -it guessi/ssl-certs-checker --config hosts.yaml

+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+
| Host               | Common Name    | DNS Names      | Not Before                    | Not After                     | PublicKeyAlgorithm | Issuer     |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+
| www.google.com:443 | www.google.com | www.google.com | 2022-03-28 02:26:07 +0000 UTC | 2022-06-20 02:26:06 +0000 UTC | ECDSA              | GTS CA 1C3 |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+

License

MIT LICENSE