What This Workflow Does
This automation solves the critical but tedious task of managing AWS certificate renewals. Expired SSL/TLS certificates cause service disruptions that can cost businesses thousands in downtime. The workflow automatically tracks certificate expiration dates in AWS Certificate Manager (ACM), initiates renewals at the optimal time, and requires human approval via Slack before completing the process.
By combining automation with human oversight, DevOps teams maintain security control while eliminating the manual work of tracking dozens or hundreds of certificates. The workflow logs all actions for audit purposes and can be customized for different approval hierarchies and notification channels.
How It Works
1. Certificate Monitoring
The workflow regularly checks AWS ACM for certificates approaching expiration (typically 45 days out). It filters certificates based on your configured criteria (domain patterns, services used, etc.).
2. Slack Notification
When certificates need renewal, the workflow posts formatted messages to designated Slack channels. The message includes certificate details, affected services, and interactive approval buttons.
3. Human Approval
Authorized team members review the request in Slack and approve/reject with one click. The workflow validates approver permissions against your configured security policies.
4. Automated Renewal
For approved requests, the workflow initiates the ACM renewal process, handles DNS validation if needed, and associates the new certificate with the proper AWS resources.
5. Status Updates
The workflow posts completion status back to Slack and logs all actions to AWS CloudTrail for auditing. Failed renewals automatically retry with exponential backoff.
Who This Is For
This workflow is ideal for:
- DevOps teams managing multiple AWS services with SSL/TLS
- SREs responsible for uptime of customer-facing applications
- Cloud operations teams with strict change management requirements
- Organizations with compliance needs for certificate lifecycle management
What You'll Need
- An n8n instance (cloud or self-hosted)
- AWS credentials with ACM read/write permissions
- Slack workspace with incoming webhook configured
- List of critical domains/services to monitor
- Approval policy document (who can approve renewals)
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure AWS credentials in the "AWS ACM" nodes
- Set up your Slack webhook URL in notification nodes
- Adjust certificate filters and approval settings
- Test with non-production certificates first
- Schedule the workflow to run daily
Key Benefits
Prevent costly outages by eliminating manual renewal tracking errors that lead to expired certificates.
Save 5-10 hours monthly per 50 certificates managed by automating the entire renewal lifecycle.
Maintain security control through Slack-based approvals that fit existing change management processes.
Improve compliance with detailed audit logs of all renewal actions and approvals.
Scale effortlessly as your AWS environment grows - the workflow handles hundreds of certificates as easily as a dozen.
Pro tip: Start with a small subset of non-critical certificates to validate the workflow before rolling out to production services.