Checks for SSL certificate expiration date