Handle the failure case due to the invalid cert file