ssl-certs-checker/README.md
2022-05-28 21:37:47 +08:00

42 lines
2.2 KiB
Markdown

# SSL certificate checker written in golang
[![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)
[![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/)
## 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](LICENSE)