Quick Overview
This workflow runs daily (or manually) to fetch an SSL/TLS certificate inventory over HTTP, calculates days until expiry, classifies each certificate by urgency, and prepares standard renewal reminders or critical renewal alerts after a short delay.
How it works
- Runs every day at 06:00 (or starts manually for testing).
- Sets the certificate inventory API URL and expiry thresholds (watch, warning, and critical) used for classification.
- Calls the certificate inventory HTTP API to retrieve all certificates in scope and then waits briefly before processing.
- Splits the returned inventory into one item per certificate and calculates days until expiry plus an urgency tier (OK, Watch, Warning, or Critical).
- Drops healthy (OK) certificates without taking action.
- Marks Watch and Warning certificates as ready for dispatch as a standard renewal reminder payload.
- Waits through a short dedup window for Critical certificates, then marks them as ready for dispatch as an urgent renewal task/alert payload.
Setup
- Provide an HTTP Header Auth credential for the certificate inventory API used by the HTTP request.
- Update the certificate inventory base URL and any scope/query parameters in the HTTP request to match your inventory service.
- Adjust the watchDaysThreshold, warningDaysThreshold, criticalDaysThreshold, and includeInternalServices values to match your renewal SLAs and environment.
- Ensure your inventory API response includes a certificates array with fields like expiryDate (parseable as a date) plus any metadata you want to route (for example domain, owner, issuer, and environment).
- Connect the standard and critical “readyForDispatch” outputs to your notification or ticketing system (for example Slack, email, or Jira).