def METHOD_NAME(session, cert_path):
    chk_cmd = "certutil -verify %s"
    chk_cmd %= cert_path
    # it may take a while to verify cert file so lets wait a little longer
    out = session.cmd(chk_cmd, timeout=QUERY_TIMEOUT)
    if re.search("Expired certificate", out, re.I):
        LOG_JOB.warning("Certificate '%s' is expired!", cert_path)
    if re.search("Incomplete certificate chain", out, re.I):
        LOG_JOB.warning("Incomplete certificate chain! Details:\n%s", out)