2020-02-22 15:39:16 +00:00
# SSL certificate checker written in golang
2021-03-13 16:57:10 +00:00
[![GoDoc ](https://godoc.org/github.com/guessi/ssl-certs-checker?status.svg )](https://godoc.org/github.com/guessi/ssl-certs-checker)
[![Go Report Card ](https://goreportcard.com/badge/github.com/guessi/ssl-certs-checker )](https://goreportcard.com/report/github.com/guessi/ssl-certs-checker)
[![GitHub go.mod Go version ](https://img.shields.io/github/go-mod/go-version/guessi/ssl-certs-checker )](https://github.com/guessi/ssl-certs-checker/blob/master/go.mod)
2020-03-15 14:19:23 +00:00
[![Docker Stars ](https://img.shields.io/docker/stars/guessi/ssl-certs-checker.svg )](https://hub.docker.com/r/guessi/ssl-certs-checker/)
[![Docker Pulls ](https://img.shields.io/docker/pulls/guessi/ssl-certs-checker.svg )](https://hub.docker.com/r/guessi/ssl-certs-checker/)
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
## Usage
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
docker run --rm -v $(pwd)/hosts.yaml:/opt/hosts.yaml:ro -it guessi/ssl-certs-checker --help
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
NAME:
SSL Certificate Checker - check SSL certificates at once
2020-03-15 14:07:50 +00:00
2020-05-10 10:05:50 +01:00
USAGE:
ssl-certs-checker [global options] command [command options] [arguments...]
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
COMMANDS:
help, h Shows a list of commands or help for one command
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
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)
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
## Sample Output
2020-02-22 15:39:16 +00:00
2020-05-10 10:05:50 +01:00
docker run --rm -v $(pwd)/hosts.yaml:/opt/hosts.yaml:ro -it guessi/ssl-certs-checker --config hosts.yaml
2020-02-22 15:39:16 +00:00
2021-02-15 17:12:25 +00:00
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+
| Host | Common Name | DNS Names | Not Before | Not After | PublicKeyAlgorithm | Issuer |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+
2022-05-28 14:37:47 +01:00
| 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 |
2021-02-15 17:12:25 +00:00
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+
2020-02-22 15:39:16 +00:00
# License
[MIT LICENSE ](LICENSE )