Sign inSign up

dariko/docker-ssl-cert-check

By dariko

Updated over 10 years ago

Application to monitor certificates expiration. Based on http://prefetch.net/code/ssl-cert-check.

Image
0

100K+

dariko/docker-ssl-cert-check repository overview

docker-ssl-cert-check

Application to monitor certificates expiration. Based on http://prefetch.net/code/ssl-cert-check, uses hairlom-mailx to send notifications.

Endpoints to be monitored can be given in a file /ssl_endpoints_list:

# /ssl_endpoints_list
domain.ext 443
domain2.ext 465

or via the ENDPOINTS environment variable.

The checks will run only once unless CHECK_INTERVAL or DAILY_TIME variables are set.

Environment variables
VariableMandatoryDefaultDescription
ENDPOINTSnoSpecifies the endpoints to monitor. A newline-separated list of FQDN PORT.
SEND_EMAILnoIf set sends email notifications to the address specified in SMTP_TO.
SMTP_FROMno[email protected]From: address for notifications emails.
SMTP_USERnoSMTP Username.
Required if SEND_EMAIL is set.
SMTP_PASSnoSMTP Password.
Required if SEND_EMAIL is set.
SMTP_URInoSMTP URI. Es: smtps://mail.example.com:465".
Required if SEND_EMAIL is set.
SMTP_TOnoTo: address for notifications emails.
Required if SEND_EMAIL is set.
WARNING_DAYSno30Minimum remaining days of certificate validity before notification.
CHECK_INTERVALnoDuration (in seconds) of sleep between checks.
DAILY_TIMEnoIf set run the script daily at the specified time (UTC). Examples: 14:00, 23:59:59

Tag summary

Content type

Image

Digest

Size

54.8 MB

Last updated

over 10 years ago

docker pull dariko/docker-ssl-cert-check