~jae/cert-monitor

Monitoring SSL Certificates using vanilla Python

af523c0 emailprovider: make it so receivers is an array

~jae pushed to ~jae/cert-monitor git

1 year, 10 months ago

b46b608 CI: fix directory type

~jae pushed to ~jae/cert-monitor git

1 year, 10 months ago

#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