def cert_get_not_after(cert):
    return cert.not_valid_after
Gets the naive datetime of the certificates 'not_after' field.
dataset/ETHPy150Open Netflix/security_monkey/security_monkey/watchers/iam/iam_ssl.py/cert_get_not_after