Skip to content

Notifications and reminders

SSLense tells you about failed renewals straight away, and sends one daily digest when certificates need attention. Set up channels under Settings › Notifications, or with SSLense.Cli notifications. Passwords and URLs are typed without echo, encrypted with DPAPI, and never logged; only their host names are shown.

Channel Setup
Windows Event Log On by default: Application log, source SSLense, so existing monitoring can watch it
Email Any SMTP server or relay, with or without sign-in
Teams, Slack, Discord, Telegram A webhook URL; sent in each service's own format
ntfy A topic URL, for free push notifications to the ntfy phone app
Generic webhook A URL; JSON, optionally signed with HMAC-SHA256
Heartbeat A ping URL from healthchecks.io, Uptime Kuma or similar

In the app, each channel has its own part of Settings › Notifications: fill it in, save it, and choose Send test.

Settings, Notifications: email through an SMTP server, with Save email, Send test and Remove email

From the command line:

Terminal window
SSLense.Cli notifications show
SSLense.Cli notifications test # PASS or FAIL for each channel
SSLense.Cli notifications remove --chat 2

Presets fill in common settings: m365-relay, m365, gmail, sendgrid, exchange and custom.

Terminal window
# A Microsoft 365 relay that accepts mail by this server's address, without sign-in:
SSLense.Cli notifications email --preset m365-relay --host contoso-com.mail.protection.outlook.com `
--from alerts@contoso.com --to ops@contoso.com,admin@contoso.com
# A server that needs a sign-in; the password is asked for:
SSLense.Cli notifications email --host smtp.example.com --port 587 --auth password --user sslense@example.com `
--from sslense@example.com --to admin@example.com

--security auto, the default, uses TLS from the start on port 465 and requires STARTTLS on any other port; it never falls back to plain text. Sending a password unencrypted is refused.

Terminal window
SSLense.Cli notifications chat --type teams --name ops # the URL is asked for
SSLense.Cli notifications chat --type generic --sign # a signed webhook; the secret is shown once
  • Teams: in the channel, create a Workflows flow from the template Post to a channel when a webhook request is received, and use its URL.
  • Telegram: https://api.telegram.org/bot<token>/sendMessage?chat_id=<chat id>.
  • ntfy: choose a topic name that is hard to guess, since anyone who knows it can read it on the public server.
  • Signed webhooks carry X-SSLense-Timestamp and X-SSLense-Signature: sha256=<hex HMAC-SHA256 of "<timestamp>.<body>">, so the receiver can check they came from SSLense.
Terminal window
SSLense.Cli notifications heartbeat # the URL is asked for

The service pings the URL after every healthy hourly check. The pings stop when the server or service stops, or while renewals keep failing, so your monitoring service alerts you either way. Expect a ping every hour, with a grace period of two to three hours.

Once a day, from 09:00 server time by default, the service sends one digest to every channel, but only when something needs attention:

  • a bought certificate within its reminder window (from 30 days before expiry by default), repeated until it is replaced;
  • an automatic renewal that is failing or overdue;
  • an expired certificate.

Under Settings › Reminders you set when it starts, how often it repeats, and when it is sent, and Send sample digest shows what it looks like. A certificate's Reminders tab turns its reminders on or off, or snoozes them. Renewal failures are reported even when its reminders are off.

Settings, Reminders: when reminders start and repeat, when the digest is sent, and when the next one is expected

A certificate's Reminders tab: on, snoozed for 7 or 30 days, off until it is replaced, or off

From the command line:

Terminal window
SSLense.Cli reminders show
SSLense.Cli reminders set --start-days 45 --repeat-days 2 --send-at 8
SSLense.Cli reminders site --site "Shop" --mode snooze --days 7 # or on, off-until-replaced, off
SSLense.Cli reminders preview # today's digest, without sending it

Two daily checks report problems before they cause an outage, in the digest after two failures in a row:

  • Renewal readiness: in the 30 days before each renewal, the pre-issue checks run for the site.
  • Served certificate: SSLense connects to each host on the server and compares what is served with what it expects.

Both run from the server itself, so they show what IIS serves, not what visitors receive through a CDN or proxy.

ID Level Meaning
1000 Information Certificate renewed
1001 Error Renewal failed (on the third failure in a row, then about daily)
1002 Warning or Information Reminder digest
1003 Error Reminder digest with a certificate that expires within 7 days or has expired
1900 Information Test notification

These IDs stay the same across releases.