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

15 Commits

Author SHA1 Message Date
b06ec131b7
Add go modules support
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-02-19 19:11:42 +01:00
eba5ffe815
Support configuration through ENV vars
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-28 23:49:40 +02:00
a2070ccccc
More refactorings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-04 12:19:58 +02:00
1d1fbb1f43
Some refactorings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-04 11:49:36 +02:00
1a6262c51f
Minor refactorings
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-05 17:38:33 +01:00
f33bab0447
Allow loading of custom RootCA certificates
which allows to monitor hosts having certificates signed by some
self-hosted CA like Vault or easyrsa-PKI

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-05 17:31:06 +01:00
58fa678eaf
Improve handling of errors for invalid certs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-05 17:00:16 +01:00
d686bf1816
Add status logging for checks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-11-05 16:03:26 +01:00
357693db38
Introduce /httpStatus endpoint
which will respond with HTTP200 if everything is fine or HTTP500 if one
or more certificates are broken

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-26 15:08:54 +02:00
c3f86a29f0
Update rconfig, use duration parsing from rconfig
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-06-26 15:04:28 +02:00
83fc7dcba5 Only set expiry when valid cert 2016-01-26 00:36:08 +01:00
b7bee41940 Dockerized application 2015-09-04 16:33:38 +02:00
f4d369c2d8 Added JSON output 2015-09-04 15:54:08 +02:00
d7f96cafdb Added documentation 2015-09-04 15:46:43 +02:00
f109a5b41d Initial version 2015-09-04 15:36:49 +02:00