boulder/issuance
Jacob Hoffman-Andrews cb56bf6beb
ca: log cert signing using JSON objects (#7742)
This makes the log events easier to parse, and makes it easier to
consistently use the correct fields from the issuance request.

Also, reduce the number of fields that are logged on error events.
Logging just the serial and the error in most cases should suffice to
cross-reference the error with the item that we attempted to sign.

One downside is that this increases the total log size (10kB above, vs
7kB from a similar production issuance) due in part to more repetition.
For example, both the "signing cert" and "signing cert success" log
lines include the full precert DER.

Note that our long-term plan for more structured logs is to have a
unique event id to join logs on, which can avoid this repetition. But
since we don't currently have convenient ways to do that join, some
duplication (as we currently have in the logs) seems reasonable.
2024-11-04 16:54:07 -08:00
..
cert.go ca: log cert signing using JSON objects (#7742) 2024-11-04 16:54:07 -08:00
cert_test.go ca: log cert signing using JSON objects (#7742) 2024-11-04 16:54:07 -08:00
crl.go CA: Remove deprecated crldpBase config (#7461) 2024-05-02 15:14:05 -07:00
crl_test.go test: Remove loop variable rebinding (#7587) 2024-07-12 10:43:25 -04:00
issuer.go Deprecate ECDSAForAll feature and remove ECDSAAllowList (#7560) 2024-06-26 10:38:51 -04:00
issuer_test.go Configure lints separately for each profile (#7636) 2024-08-01 10:01:46 -07:00