iRule idea check certificate
I am occasionally tasked with checking ssl certificates on my customer's F5 LTM.
This is a manual task and it takes time and adding beaureaucracy means updating in the last minute.
I have an idea. What if I create an IRule to check certificates using something like :
openssl x509 -in /config/ssl/ssl.crt/default.crt -noout -enddate |cut -c10-40
and then send a notification that a certificate will expire in the next 2-3 months.
I am a beginner with all iRules. Is this feasible/possible ? How should I start ?