Catching any exception during certificate load