Skip to content

simple go application that notifies you via Pushover whenever a certificate is issued for any domain you own.

Notifications You must be signed in to change notification settings

janic0/CertificateTransparencyAlerter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certificate Transparency Alerter

This app continuously scanns Certificate Transparency (CT) logs for customizable keywords, to get alerted when a certificate for your domain is issued. It can also be used to get alerted when someone deploys a new application.

How to run

I recommend using docker to run this app.

docker build . -t janic0/ct_alerter
docker run -d -e PUSHOVER_API_KEY="<pushover-api-key>" -e PUSHOVER_USER_KEY="<pushover-user-key>" -v $PWD:/app janic0/ct_alerter

Replace <pushover-api-key> and <pushover-user-key> with the corresponding values from Pushover.

Configuration

There's a volume bound to the local directory in order to sync the config.yml file. By default, the configuration will be refreshed from the filesystem every minute.

This is the format of the config.yml file. CloudFlare offers a log of the most popular CT logs here:

logs:
  - https://oak.ct.letsencrypt.org/2022
  - https://oak.ct.letsencrypt.org/2023
  - https://oak.ct.letsencrypt.org/2024h1
  - https://oak.ct.letsencrypt.org/2024h2
  - https://ct.cloudflare.com/logs/nimbus2023
  - https://ct.cloudflare.com/logs/nimbus2024
  - https://ct.cloudflare.com/logs/cirrus
  - https://ct.googleapis.com/logs/xenon2022
  - https://ct.googleapis.com/logs/xenon2023
  - https://ct.googleapis.com/logs/eu1/xenon2024
  - https://nessie2022.ct.digicert.com/log
  - https://nessie2023.ct.digicert.com/log
  - https://nessie2024.ct.digicert.com/log
  - https://nessie2025.ct.digicert.com/log
queries:
  - "janic.io"
  - "google.com"

Modifying the intervals

By default, the app will refetch all entries from the provided logs only every 30 minutes. This is done to reduce bandwith and server load on the log providers, who have to maintain the infrastructure that help to keep the web (at least a bit) more transparent. If your use case really needs more frequent refreshes, you can change the intervals in the main.go file directly below the imports.

About

simple go application that notifies you via Pushover whenever a certificate is issued for any domain you own.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published