FTS-1320: use get_datetime to extract cert validity

1 job for develop in 1 minute and 23 seconds (queued for 11 seconds)