a765b02f5a
to remove warning of CVE-2022-28948 - https://nvd.nist.gov/vuln/detail/CVE-2022-28948 |
||
---|---|---|
.dockerignore | ||
.drone.yml | ||
.gitignore | ||
config.go | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
hosts.yaml | ||
LICENSE | ||
main.go | ||
README.md | ||
utils.go |
SSL certificate checker written in golang
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 |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+