Skip to content

Commit 0fcfbc3

Browse files
authored
Shorten final certificate issuance log line. (letsencrypt#4861)
Previously, we logged both the precertificate and the final certificate when the final certificate was signed. However, we already log the precertificate body at precertificate issuance time, and we can conect the two log lines by serial, so this was making the final certificate log line unnecessarily long.
1 parent 06ffb57 commit 0fcfbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ca/ca.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ func (ca *CertificateAuthorityImpl) IssueCertificateForPrecertificate(ctx contex
605605
return emptyCert, err
606606
}
607607
certDER := block.Bytes
608-
ca.log.AuditInfof("Signing success: serial=[%s] names=[%s] precertificate=[%s] certificate=[%s]",
608+
ca.log.AuditInfof("Signing success: serial=[%s] names=[%s] certificate=[%s]",
609609
serialHex, strings.Join(precert.DNSNames, ", "), hex.EncodeToString(req.DER),
610610
hex.EncodeToString(certDER))
611611
return ca.storeCertificate(ctx, *req.RegistrationID, *req.OrderID, precert.SerialNumber, certDER)

0 commit comments

Comments
 (0)