~jae/cert-monitor

Monitoring SSL Certificates using vanilla Python
af523c00 — Jae Lo Presti (DN0) 10 months ago
emailprovider: make it so receivers is an array
b46b6080 — Jae Lo Presti (DN0) 10 months ago
CI: fix directory type
ccda6c01 — Jae Lo Presti (DN0) 10 months ago
META: add CI

refs

beep
browse  log 

clone

read-only
https://git.sr.ht/~jae/cert-monitor
read/write
git@git.sr.ht:~jae/cert-monitor

You can also use your local clone with git send-email.

#cert-monitor

A SSL certificate monitor solution

#Running

Provide the following environment variable to monitor those domains:

GET_DOMAIN_LIST='["jae.fi:443", "mail.jae.fi:465"]'
SMTP_USER="noreply@email.host"
SMTP_PASS="iamverysecure"
SMTP_HOST="mail.email.host"
RECEIVERS=["ping@email.host"]
MATRIX_HOST="matrix.something.test"
MATRIX_TOKEN="verysecret"
MATRIX_ROOMS='["!myroom:matrix.something.test"]'
MATRIX_ENABLED=True
EMAIL_ENABLED=True

GET_DOMAIN_LIST will check for a certificate on port 443.
GET_MAIL_DOMAINS will check for a certificate on port 465.

Optional are:

SMTP_PORT # SET THE SMTP PORT (HAS TO BE SSL)
CRON_TASK_SECONDS # SECONDS BETWEEN CRONS