yoch_350532
Aug 24, 2018Nimbostratus
Expiring SSL certificate alerts
I want to send out a mail from F5 when a certificate is about to expire. so far i have done this.
- Configured mail. did a test mail with the below code.
echo "ssmtp test mail" | mail -vs "Test email for SOL15288" user@mydomain.com
- Below code in "/config/user_alert.conf"
alert CERTIFICATE_EXPIRED "Certificate (.*) expired" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.300"; email toaddress="user@mydomain.com" body="Certificate Expired on " }
alert CERTIFICATE_WILL_EXPIRE "Certificate (.*) will expire" { snmptrap OID=".1.3.6.1.4.1.3375.2.4.0.301"; email toaddress="user@mydomain.com" body="Certificate will Expire on " }
and then i run "run sys crypto check-cert" from tmsh.
Still i dont get any alert mails