Know before a certificate expires. Every port, every address.
tlswatch probes the certificates your servers actually serve, not the ones you think you installed. Expiry, chain of trust, hostname, legacy TLS and silent changes, with an alert before anything goes dark.
Expiring next
All certificates| Target | Days | Lifetime used |
|---|---|---|
| SIP trunk | 5 | |
| Mail relay | 22 | |
| Status page | 48 | |
| Resident portal | 61 | |
| Vault | 74 | |
| PBX Fabrikam node | 340 |
Open findings
AllWhat is served, not what is installed
Checks happen over the network, the way a client sees it. Every address behind a name is probed, so the one stale node behind a load balancer is caught.
Any port, not just 443
Implicit TLS or STARTTLS on SMTP, IMAP, POP3, FTP and PostgreSQL. Mail relays, SIP trunks and PBXes get the same attention as the website.
Alerts on transitions, not on every run
A finding opens once and alerts once, with reminders, a recovery notice when it clears and acknowledgements when you already know.
More than an expiry date
A certificate can be valid and still wrong. tlswatch looks at the whole picture on every check.
Thresholds that follow the lifetime
Warning and critical in days and as a share of the lifetime, so a 47-day or 6-day certificate warns on its own cycle. A renewal that ran but was never deployed is overdue before it expires.
Chain of trust
Verified for server authentication like a browser does, against the system store, your own CA bundle, or a pinned self-signed certificate.
Hostname and signature
Does the certificate match the name you are connecting to, and is the signature algorithm still acceptable?
Revocation
The CRL each certificate names, fetched once a day and verified against the issuer. A revoked certificate is critical; OCSP stapling is recorded, and a must-staple certificate without a good staple is critical too.
Distrust calendar
Root programs drop CAs with a date. A chain anchored in a root Chrome, Mozilla, Apple or Microsoft distrusts is a finding months before browsers refuse it.
TLS configuration grade
A daily test for SSL 3.0, TLS 1.0 and 1.1, for export-grade, NULL, anonymous, DES, RC4, 3DES, RSA key exchange and CBC suites, the Diffie-Hellman group size, and whether post-quantum X25519MLKEM768 is negotiated. Every target gets an A to F with its reasons.
Change detection
A new certificate or issuer opens a finding with what changed: SANs, key, issuer, intermediate, expiry. Let's Encrypt and other ACME renewals are recognised and stay quiet.
Certificates you never see
The RSA certificate next to an ECDSA one, and the default served without SNI, asked for once a day and checked like the main one. An expired one is a finding before the clients that get it notice.
Inconsistent addresses
When the addresses behind one name serve different certificates, you hear about it before a customer does.
Certificate inventory
Every certificate seen, where it is served, when it expires. Exportable as CSV.
Expiry calendar
A private ICS feed, for all targets or one tag, with every expiry date and renewal point. Subscribe in Outlook, Google or Apple Calendar; a renewal moves the event.
Live, sortable lists
Overview, targets and findings update as checks land. Every column sorts, the order is in the URL, and on a phone the lists are compact cards.
Certificate Transparency
Every certificate publicly issued for your domains, matched against what the targets serve. One that nobody deployed is a finding; a renewal on its way is not.
CAA records
Every issuance for a watched domain is held against its CAA record. A certificate from a CA the record does not allow is a finding.
Nodes in other networks
One command installs a node inside a network the server cannot reach. It connects out over HTTPS and probes from there. How nodes work
Targets in bulk
Paste one host per line to add many at once. Tick a selection and change tags, thresholds, channels or the node for all of them in one form.
Discovery
Scan a private range from the server or a node for TLS on the usual ports, or take the names Certificate Transparency knows. Tick what you want and add it as targets.
Roles, sign-in, backups
Viewer, operator and admin. Local accounts with TOTP, Google or any OpenID Connect provider with roles from a group claim. Every change in the audit log, the whole instance in one encrypted backup file.
REST API and YAML
A REST API under /api/v2 with its own OpenAPI document and tokens capped at their owner's role. Targets and domain watches export as YAML and import again with a preview.
The alert goes where your team already looks
Each channel has its own severity floor, so Telegram sees everything and the on-call pager only the critical ones. Mail carries a plain-text and an HTML part. Rate limits and retries are handled for you, PagerDuty incidents resolve when the finding does, and an optional weekly digest sums up what is due.
- Host
- sip.contoso.example:5061
- Expires
- 2026-12-06 12:00 UTC
- Issuer
- Sectigo RSA Domain Validation
- Renewal
- manual, no ACME seen
- Addresses
- 2 of 2 serve this certificate
Three steps, no config files
Add a target
A hostname or IP, a port, a protocol, a whole list at once, or what a network scan found. Choose the trust store and where to probe from, set thresholds or keep the defaults, tag it. Test without saving to see the result first.
It keeps probing
Every address behind the name, on a schedule you set, with the configuration test and the revocation lists once a day and the Certificate Transparency logs once an hour. Results land on live pages and in the inventory.
You get told once
A finding opens when something changes and alerts your channels. Acknowledge it, get a reminder, and a recovery notice when it is fixed.
Probe from inside a network the server cannot reach
A node is the same binary, run as tlswatch node on a machine inside the other network. It connects out to the server and waits for work; nothing connects to it. The schedule, the inventory, the findings and the alerts stay on the server, so one installation watches every network.
- One firewall rule: outbound HTTPS to the server. No VPN, no inbound port, no WebSocket, so any reverse proxy will do.
- Trust stays central. CA bundles never leave the server; a node only captures the chain.
- Nodes update themselves to the server's version, one at a time, with rollback. Nobody logs in to them.
- An offline node opens one finding, not one per target. Its targets show "Waiting for node" and are checked the moment it is back.
- Also as a container, and restrictable to an allowlist of networks it may probe.
$ curl -fsSL https://tlswatch.example.nl/agent/v1/install/<token> | sudo sh ==> Checking this machine Linux arm64 with curl and systemd ==> Downloading tlswatch for linux/arm64 from https://tlswatch.example.nl SHA-256 7f3a…c1e2 verified ==> Installing into /var/lib/tlswatch-node created the system user tlswatch-node /var/lib/tlswatch-node/bin/tlswatch, linked from /usr/local/bin/tlswatch; settings in /etc/tlswatch-node.env ==> Enrolling with https://tlswatch.example.nl ==> Starting the service tlswatch-node Connected to https://tlswatch.example.nl as pbx-fabrikam; finish in the UI.
Running in a minute
One binary, one SQLite file. Releases ship binaries for Linux (x86-64, ARM64, ARMv7) and macOS (Intel and Apple silicon) and a multi-platform image on the GitHub Container Registry. On first start you create your admin account in the browser, or restore a backup from another installation. Everything else lives under Settings.
Docker compose
# compose.yaml services: tlswatch: image: ghcr.io/sjoerd305/tlswatch:latest restart: unless-stopped ports: - "127.0.0.1:8080:8080" volumes: - tlswatch-data:/data volumes: tlswatch-data: $ docker compose up -d $ open http://127.0.0.1:8080/
The released image for amd64, arm64 and ARMv7, tagged per version: pin :v0.1.4 instead of :latest to update on your own schedule. Put a reverse proxy with TLS in front before exposing it, then set the public URL under Settings › General.
Binary linux · macos
$ make build # or download a release, see below $ ./tlswatch serve # creates ./data/ and a secret key $ open http://127.0.0.1:8080/
Release binaries and checksums are on the releases page. Listen address, database path and secret key file are environment variables; everything else is in the UI.
Try one endpoint first, no server needed
The same checks as the server, printed as JSON, with an exit code for scripts: 0 ok, 1 warning, 2 critical. A server that still accepts TLS 1.0 exits 1.
$ tlswatch check mail.example.nl:587 -protocol smtp { "target": "mail.example.nl:587", "protocol": "smtp", "status": "warning", "grade": "B", "days_left": 22, "not_after": "2026-12-23T09:12:00Z", "issuer": "DigiCert Global G2 TLS RSA SHA256 2020 CA1", "addresses": [ { "address": "203.0.113.21", "ok": true, "tls_version": "TLS 1.3", "key_exchange_group": "X25519", "verified": true, "legacy_accepted": [], "weak_suites_accepted": ["no forward secrecy (TLS_RSA_WITH_AES_128_GCM_SHA256)"], "grade": "B", "grade_reasons": ["accepts no forward secrecy (TLS_RSA_WITH_AES_128_GCM_SHA256)", "post-quantum key exchange: no"], "pq_kex": false }, { "address": "2001:db8:c0::21", … } ], "findings": [ { "kind": "expiring", "severity": "warning", "details": "expires in 22 days" } ] } $ echo $? 1
Boring in the right places
Common questions about tlswatch
Is tlswatch free and open source?
Yes. MIT licensed, source on GitHub, no hosted tier, no account, no telemetry. You run it yourself.
Can I try it before installing?
Yes. demo.tlswatch.nl is a read-only instance, no sign-in, watching public endpoints: healthy sites, mail and FTP over STARTTLS, a private CA, a pinned self-signed certificate, and the badssl.com hosts that are broken on purpose.
Does it monitor more than HTTPS on port 443?
Yes. Any hostname or IP on any port, with implicit TLS or STARTTLS for SMTP, IMAP, POP3, FTP and PostgreSQL. Mail relays, SIP trunks, PBXes, databases and internal services are watched like the website.
How is it different from an uptime monitor with a certificate check?
An uptime monitor reads the expiry date of one handshake. tlswatch probes every address behind a name, verifies chain, hostname and signature, checks revocation and distrusted roots, tests for SSL 3.0, TLS 1.0 and 1.1 daily, detects certificate and issuer changes, keeps an inventory, and alerts on transitions with reminders and recovery notices.
Can it monitor servers in a private network?
Yes. A node is the same binary run inside that network. It connects out to the server over HTTPS and probes from there; the network needs one outbound rule.
Does it work with Let's Encrypt?
Yes. ACME-managed certificates get their own, shorter thresholds, and an automatic renewal is recognised and does not alert. A manual replacement does, and so does a renewal that is overdue because it never reached the server.
Does it see certificates I never requested?
Yes. A domain watch follows the public Certificate Transparency logs for your domain and matches every issuance against what your targets serve. A certificate no target serves, from a CA you never used or for a name you forgot, opens a finding.
What does it need to run?
One static Go binary and one SQLite file. Release binaries for Linux (amd64, arm64, ARMv7) and macOS, and a Docker image for the same Linux platforms, so a Raspberry Pi will do.
Get in touch
tlswatch is made by Sjoerd van Dijk. Questions, feedback or a story about a certificate that expired on a Friday: write to sjoerd@tlswatch.nl.
sjoerd@tlswatch.nl for questions, feedback and anything that is not a bug report.
Bugs and feature requests
Open an issue on GitHub, so others with the same problem find the answer.
Security issues
Report a vulnerability privately as described in SECURITY.md, not in a public issue.
Watch the certificates you actually serve.
MIT licensed. Source, releases and documentation on GitHub.