boulder icon indicating copy to clipboard operation
boulder copied to clipboard

add backoff-and-retry logic to rocsp-tool

Open jsha opened this issue 3 years ago • 0 comments

Right now, if rocsp-tool gets a timeout or other error from GenerateOCSP, or from writing to Redis, it will error and move on to the next certificate. Instead, it should go into a backoff-and-retry loop until that certificate succeeds. There are two reasons for that:

  • This makes it easier to ensure there are no gaps in our Redis store if we complete a successful run.
  • If rocsp-tool is configured with a ParallelSigns that can overwhelm the CA, it will automatically backoff to a level that the CA can handle, rather than continuing to flood with traffic.

jsha avatar Apr 23 '22 00:04 jsha