def cert_time_to_seconds(cert_time):
 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' ) )
return the time in seconds since the epoch .