Checking SSL Certificate Expiration and Notifying the Result to Slack
Overview
1 | The SSL certificate expired and the site became inaccessible. |
I built this so that something like the above would not happen.
Shell Script
- It checks the expiration dates of multiple domains configured in DOMAIN_LIST.
- In practice, I run this on Jenkins, and the build parameters make it easy to add domains.
- I do a review every first Monday of the month.
Monitoring with Zabbix as Well
I found an article on Qiita.
Monitoring SSL certificate expiration with Zabbix
You can also set up a phone notification once there is less than a week left. Whatever the measure, having something in place gives you peace of mind.
That’s all.

