Certificate Transparency Log Monitor
Search online Certificate Transparency Log service (http://crt.sh) for certificates issued to your domains. Store certificate info in JSON documents for historical records and alert on changes or newly issued certificates via email.
- curl
- jq
- logger
- diff
- local SMTP server (e.g. sendmail or postfix)
Install all dependencies on Ubuntu using sudo apt-get install mailutils curl diffutils jq sendmail
- Populate configuration in
ctlmon.conf
- Populate domains in
domains.txt
- Run
./ctlmon.sh
Add the following cron job using crontab -e
to run the script automatically at 9:00AM every day
0 9 * * * cd <path to cloned repo> && <path to cloned repo>/ctlmon.sh > /dev/null
0 9 * * * cd $HOME/ctlmon && $HOME/ctlmon/ctlmon.sh > /dev/null