Go to file
2020-10-02 10:48:08 +08:00
.dockerignore Bump dependencies 2020-07-23 00:01:41 +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 Bump dependencies 2020-07-23 00:01:41 +08:00
go.mod Build with golang 1.15 2020-10-02 10:48:08 +08:00
go.sum Build with golang 1.15 2020-10-02 10:48:08 +08:00
hosts.yaml Simplified README.md 2020-05-10 17:20:26 +08:00
LICENSE Initial commit 2020-02-23 00:09:31 +08:00
main.go Make it possible to change timeout value 2020-05-10 17:12:16 +08:00
README.md Simplified README.md 2020-05-10 17:20:26 +08:00
utils.go Make it possible to change timeout value 2020-05-10 17:12:16 +08:00

SSL certificate checker written in golang

Docker Stars Docker Pulls Docker Automated

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                        | 2020-04-15 20:25:31 +0000 UTC | 2020-07-08 20:25:31 +0000 UTC | ECDSA              | GTS CA 1O1            |
+--------------------+----------------+---------------------------------------+-------------------------------+-------------------------------+--------------------+-----------------------+

Build from Source

go get -u github.com/guessi/ssl-certs-checker

cd ${GOPATH}/src/github.com/guessi/ssl-certs-checker

vim ... # made some changes

go install github.com/guessi/ssl-certs-checker

ssl-certs-checker --help

License

MIT LICENSE