For me the only thing that worked is to set time manually on centos7 aws.
date -s "2 OCT 2006 18:00:00" ( update as per current time)