Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vkuznet/cert-checker
Certificate checker
https://github.com/vkuznet/cert-checker
Last synced: 30 days ago
JSON representation
Certificate checker
- Host: GitHub
- URL: https://github.com/vkuznet/cert-checker
- Owner: vkuznet
- License: mit
- Created: 2022-11-13T19:32:55.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T12:52:26.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T06:27:38.402Z (3 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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```