Fix validation error for the certificate.