(cert_time)
return time.mktime(time.strptime(cert_time, "%b %d %H:%M:%S %Y GMT"))
Takes a date-time string in standard ASN1_print form
    ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
    a Python time value in seconds past the epoch.
Takes a date-time string in standard ASN1_print form
    ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
    a Python time value in seconds past the epoch.
Takes a date - time string in standard ASN1_print form ( MON DAY 24HOUR : MINUTE : SEC YEAR TIMEZONE ) and return a Python time value in seconds past the epoch .
def cert_time_to_seconds(cert_time):
    """Takes a date-time string in standard ASN1_print form
    ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
    a Python time value in seconds past the epoch."""

    import time
    return time.mktime(time.strptime(cert_time, "%b %d %H:%M:%S %Y GMT"))
def cert_time_to_seconds ( cert_time ) : import time return time . mktime ( time . strptime ( cert_time , "%b %d %H:%M:%S %Y GMT" ) )