Forum Discussion
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
- I_R_101_110Cirrus
Refer to this gentleman's write up:
https://devcentral.f5.com/questions/smtp-trap-for-expired-certificates
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com