Block 1 - Write Binary - TempFile : crlfile.der
- Type / Role
- n8n-nodes-base.writeBinaryFile - writeBinaryFile
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
PKI Certificate & CRL Monitor Auto Expiration Alert System Overview This n8n workflow provides automated monitoring of Public Key Infrastructure (PKI) components including CA certificates, Certific...
n8n-nodes-base.writebinaryfile, n8n-nodes-base.executecommand, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.manualtrigger, n8n-nodes-base.scheduletrigger, n8n-nodes-base.splitout
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vigh Sandor.
Original n8n.io sourceThis n8n workflow provides automated monitoring of Public Key Infrastructure (PKI) components including CA certificates, Certificate Revocation Lists (CRLs), and associated web services. It extracts certificate information from the TSL (Trusted Service List) -- the Hungarian is the example list as default in the workflow -- , monitors expiration dates, and sends alerts via Telegram and SMS when critical thresholds are reached.
Create Telegram Bot:
/newbot and follow prompts1234567890:ABCdefGHIjklMNOpqrsTUVwxyz)Create Alert Channel:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates"chat":{"id":-100XXXXXXXXXX} - this is your channel IDTextbelt Configuration:
Update these nodes with your credentials:
CRL Alert Node:
YOUR-TELEGRAM-BOT-TOKEN with your bot tokenYOUR-TELEGRAM-CHANNEL-ID with your channel ID+36301234567 with target phone number(s)YOUR-TEXTBELT-API-KEY with your Textbelt keyCA Alert Node:
Website Down Alert Node:
The workflow defaults to Hungarian TSL:
http://www.nmhh.hu/tl/pub/HU_TL.xmlDefault warning threshold: 17 hours before expiration
if (diffHours < 17)Once activated, the workflow runs automatically:
For immediate checks:
Message Format:
ALERT! with [Issuer CN] !!!CRL EXPIRATION!!! Will be under 17 hour ([Next Update Time])! Last updated: [Last Update Time]
Trigger Conditions:
Message Format:
ALERT!/EXPIRED! with [Subject CN] !!!CA EXPIRATION PROBLEM!!! The expiration time: ([Not After Date]) Last updated: ([Not Before Date])
Trigger Conditions:
Message Format:
ALERT! The [URL] !!!NOT AVAILABLE!!! Service outage probable! Intervention required!
Trigger Conditions:
Check Telegram channel for:
Check Telegram Bot:
Check Workflow Execution:
Slow Execution:
Memory Issues:
Edit Execute With Scheduled Start node:
In Collect Checking URL list node:
URL="https://your-tsl-source.com/tsl.xml"
Edit alert nodes to modify message templates:
Modify URL detection patterns:
Wait B4 Retry node:
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 44 workflow blocks. Download the JSON for the full node graph.
| Workflow | Monitor PKI certificates & CRLs for expiration with Telegram & SMS alerts |
|---|---|
| Complexity | advanced |
| Nodes | 44 |
| Categories | SecOps |
| Author | Vigh Sandor |
| Published | 18 Oct 2025 |
Use the JSON export at /data/workflows/9865/9865.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
PKI Certificate & CRL Monitor Auto Expiration Alert System Overview This n8n workflow provides automated monitoring of Public Key Infrastructure (PKI) components including CA certificates, Certific...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.