Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vkuznet/cert-checker

Certificate checker
https://github.com/vkuznet/cert-checker

Last synced: 30 days ago
JSON representation

Certificate checker

Awesome Lists containing this project

README

        

# cert-checker

Certificate checker

### How to

```
go build main.go config.go
./main -config config.json -team "monitoring" -httpPort 8888

#
$ curl 127.0.0.1:8888/metrics
# HELP cert_valid_sec
# TYPE cert_valid_sec gauge
cert_valid_sec{file_name="usercert.pem", common_name="" team="monitoring"} 1.2230344333986e+07
# HELP keytab_valid_sec
# TYPE keytab_valid_sec gauge
keytab_valid_sec{file_name="keytab", principle="", team="monitoring"} 3.0477057333219e+07

```