Go to file
2022-09-12 00:18:57 +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.16 2022-05-28 21:39:38 +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.16 2022-05-28 21:39:38 +08:00
go.mod Bump dependencies 2022-09-12 00:18:57 +08:00
go.sum Bump dependencies 2022-09-12 00:18:57 +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 Update sample output 2022-05-28 21:37:47 +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-05-04 17:40:05 +0000 UTC | 2022-07-27 17:40:04 +0000 UTC | ECDSA              | GTS CA 1C3 |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+

License

MIT LICENSE