diff --git a/ca/certificate-authority.go b/ca/certificate-authority.go index 7d43148af..cb37aa60e 100644 --- a/ca/certificate-authority.go +++ b/ca/certificate-authority.go @@ -419,12 +419,7 @@ func (ca *CertificateAuthorityImpl) IssueCertificate(csr x509.CertificateRequest } // Submit the certificate to any configured CT logs - certObj, err := x509.ParseCertificate(certDER) - if err != nil { - ca.log.Warning(fmt.Sprintf("Post-Issuance OCSP failed parsing Certificate: %s", err)) - return cert, nil - } - go ca.Publisher.SubmitToCT(certObj.Raw) + go ca.Publisher.SubmitToCT(certDER) // Do not return an err at this point; caller must know that the Certificate // was issued. (Also, it should be impossible for err to be non-nil here)