Ensuring your websites have valid SSL certificates is crucial for security and user trust. With n8n and the CustomJS SSL Checker node, you can automate the monitoring of your SSL certificates to prevent unexpected expirations.
- Proactively prevent website downtime due to expired certificates.
- Automate compliance and security monitoring.
- Receive alerts before a certificate expires.
Link to n8n Workflow
- A self-hosted n8n instance
- The CustomJS PDF Toolkit node installed
- A list of domains to check
The workflow consists of the following steps:
- Get Domains – Provide a list of domains to monitor.
- Check SSL – Use the SSL Checker node to get certificate details.
- Alert if Necessary - Check the expiration date and send an alert if it's soon.
Use a Google Sheets node, a Code node with a hardcoded list, or any other node to provide the domains.
- Add the SSL Checker node from the CustomJS Toolkit.
- Connect the input containing the list of domains.
- The node will output details for each domain, including the expiration date and days remaining.
- Add an IF node to check if
days_remaining
is below a certain threshold (e.g., 30 days). - If true, send a notification via Email, Slack, or another messaging service.
Automating SSL certificate checks helps you avoid downtime and security issues. By integrating the SSL Checker node, you can ensure your domains are always secure and compliant.