1
0
mirror of https://github.com/Luzifer/promcertcheck.git synced 2024-09-19 09:22:57 +00:00

Update README

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-11-05 17:41:03 +01:00
parent 81d0bccee8
commit 96194f9f93
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -1,6 +1,9 @@
# Luzifer / PromCertcheck [![Go Report Card](https://goreportcard.com/badge/github.com/Luzifer/promcertcheck)](https://goreportcard.com/report/github.com/Luzifer/promcertcheck)
![](https://badges.fyi/github/license/Luzifer/promcertcheck) ![](https://badges.fyi/github/license/Luzifer/promcertcheck)
![](https://badges.fyi/github/downloads/Luzifer/promcertcheck)
![](https://badges.fyi/github/latest-release/Luzifer/promcertcheck)
# Luzifer / PromCertcheck
This project contains a small monitoring tool to check URLs for their certificate validity. The URLs are polled once per hour and the certificates from that URLs are validated against the root certificates available to the program. (Provided by the operating systems distributor or manually set by you if you're using a docker container.) This project contains a small monitoring tool to check URLs for their certificate validity. The URLs are polled once per hour and the certificates from that URLs are validated against the root certificates available to the program. (Provided by the operating systems distributor or manually set by you if you're using a docker container.)
@ -13,13 +16,15 @@ This project contains a small monitoring tool to check URLs for their certificat
## Usage ## Usage
```bash ```bash
# ./certcheck --help # ./promcertcheck --help
Usage of ./certcheck: Usage of ./promcertcheck:
--debug[=false]: Output debugging data --expire-warning duration When to warn about a soon expiring certificate (default 744h0m0s)
--expire-warning="744h": When to warn about a soon expiring certificate --log-level string Verbosity of logs to use (debug, info, warning, error, ...) (default "info")
--probe=[]: URLs to check for certificate issues --probe stringSlice URLs to check for certificate issues
--roots-dir string Directory to load custom RootCA certs from to be trusted (*.pem)
--version Print program version and exit
# ./certcheck --probe=https://www.google.com/ --probe=https://www.facebook.com/ # ./promcertcheck --probe=https://www.google.com/ --probe=https://www.facebook.com/
PromCertcheck dev... PromCertcheck dev...
Starting to listen on 0.0.0.0:3000 Starting to listen on 0.0.0.0:3000
``` ```