2020-02-22 15:39:16 +00:00
|
|
|
# SSL certificate checker written in golang
|
|
|
|
|
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/)
|
|
|
|
[![Docker Automated](https://img.shields.io/docker/automated/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
|
|
|
|
2020-05-10 09:09:50 +01:00
|
|
|
+--------------------+----------------+---------------------------------------+-------------------------------+-------------------------------+--------------------+-----------------------+
|
|
|
|
| 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 |
|
|
|
|
+--------------------+----------------+---------------------------------------+-------------------------------+-------------------------------+--------------------+-----------------------+
|
2020-02-22 15:39:16 +00:00
|
|
|
|
2020-05-10 10:05:50 +01:00
|
|
|
## 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
|
|
|
|
|
2020-02-22 15:39:16 +00:00
|
|
|
# License
|
|
|
|
|
|
|
|
[MIT LICENSE](LICENSE)
|