Changed cert to AWS format