boulder/test/ocsp
Daniel McCarney f7bf82368a Return error from `sendHTTPRequest` immediately. (#2925)
Prior to this commit the `httpResp` result of `sendHTTPRequest` was
examined even in the case where `sendHTTPRequest` returns a non-nil
error. This can cause a nil panic since the `httpResp` may be `nil` when
the error is not. This commit returns an error from `Req()` immediately
when `sendHTTPRequest` returns one.
2017-07-31 11:19:03 -07:00
..
checkocsp Add checkocsp and ocsp_forever. (#2632) 2017-04-05 12:05:06 -07:00
helper Return error from `sendHTTPRequest` immediately. (#2925) 2017-07-31 11:19:03 -07:00
ocsp_forever Add checkocsp and ocsp_forever. (#2632) 2017-04-05 12:05:06 -07:00
README.md Add checkocsp and ocsp_forever. (#2632) 2017-04-05 12:05:06 -07:00

README.md

This directory contains two utilities for checking ocsp.

"checkocsp" is a command-line tool to check the OCSP response for a certificate or a list of certificates.

"ocsp_forever" is a similar tool that runs as a daemon and continually checks OCSP for a list of certificates, and exports Prometheus stats.

Both of these are useful for monitoring a Boulder instance. "checkocsp" is also useful for debugging.