check_mk local check SSL certificate expiration

Was getting sick of tracking certificates expirations in confluence and setting reminders in my calendars, so I thought, Hey, why not make the monitoring system do this?

rtorrent and those annoying SSL certificate errors

Got this today,

A quick look at the sites certificate and it had expired, so into the source code and created a patch below. Should also fix self-signed certificates errors.