Monitor PKI certificates & CRLs for expiration with Telegram & SMS alerts
Needs changesWhat this workflow does
This workflow has 35 nodes and runs on a schedule (every 12 hours) (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every 12 hours) (plus 1 other trigger).
- Collect Checking URL list (Execute Command): runs a shell command on the n8n host
- Get Checking URL list to URL objects (Edit Fields (Set)): sets or maps fields
- Get Url From List (Split Out): splits a list into separate items
- Loop Over Items -- Process Checking (Loop Over Items (Split in Batches)): loops over the items in batches
- Is this CRL ? (If): checks a condition and branches into true / false
- Get CRL URL (HTTP Request): calls an HTTP API
- Is this CA? (If): checks a condition and branches into true / false
- CRL Available? (If): checks a condition and branches into true / false
- Get CA URL (HTTP Request): calls an HTTP API
- Get Non-CRL/CA URL (HTTP Request): calls an HTTP API
…plus 23 more steps. See the full node list below.
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Write Binary File in Write Binary - TempFile : crlfile.der, Write Binary - TempFile : cacertfile.crt: replace with Read/Write Files from Disk.
- Also check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- If/Switch with “Always Output Data”: in 3.0 the empty item only appears when every output is empty, so a branch relying on an empty item may silently stop.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| Write Binary File Write Binary - TempFile : crlfile.der, Write Binary - TempFile : cacertfile.crt | Read/Write Files from Disk |
Nodes used (11)
- Write Binary File
n8n-nodes-base.writeBinaryFile - Execute Command
n8n-nodes-base.executeCommand - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Wait
n8n-nodes-base.wait - Edit Fields (Set)
n8n-nodes-base.set
From the author
PKI Certificate & CRL Monitor - Auto Expiration Alert System Overview This n8n workflow provides automated monitoring of Public Key Infrastructure (PKI) components including CA certificates, Certificate Revocation Lists (CRLs), and associated web services. It…