Go to file
2021-11-08 02:01:18 +08:00
.dockerignore Bump dependencies 2020-07-23 00:01:41 +08:00
.drone.yml Introduce DroneCI build 2021-11-08 02:01:18 +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 build with golang:1.17-alpine3.14 2021-11-08 01:52:30 +08:00
go.mod build with golang:1.17-alpine3.14 2021-11-08 01:52:30 +08:00
go.sum build with golang:1.17-alpine3.14 2021-11-08 01:52:30 +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 build with golang:1.17-alpine3.14 2021-11-08 01:52:30 +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

GoDoc Go Report Card GitHub go.mod Go version

Docker Stars Docker Pulls

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 | 2021-10-18 10:15:56 +0000 UTC | 2022-01-10 10:15:55 +0000 UTC | ECDSA              | GTS CA 1C3 |
+--------------------+----------------+----------------+-------------------------------+-------------------------------+--------------------+------------+

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