Nexus OCSP Responder writes messages to the log file, classified as "billing". Every message will contain the following:
- The URL to which the client has connected (that is, which OCSP responder is acting).
- The IP address of the requesting client.
- If available, the requestor name from the client certificate. Either the name from the certificate that signed the OCSP request, or the name from the TLS client certificate.
An OCSP request may include one or more single requests, each one asking for information about a certificate.
To count the number of OCSP requests, specify the following in the Nexus OCSP Responder configuration file:
Specify in the configuration file:
responder.<r#>.billing.perrequest=true
The number of certificate requests included in the client request, will be added to the log message.
Replace <r#>
with the responder sequence number.
To count every requested certificate, specify:
Specify in the configuration file:
responder.<r#>.billing.percert=true
The issuer and the serial number for every included certificate request will be added to the log message.
Replace <r#>
with the responder sequence number.
By default, certificates that get the response "unknown" are excluded from percert
logging. To also log such certificates, specify:
Specify in the configuration file:
responder.<r#>.billing.countunknown=true
- Replace
<r#>
with the responder sequence number.
External tools can be used to summarize the logs