add time stamp & add a self signed certificate