boulder
boulder copied to clipboard
add backoff-and-retry logic to rocsp-tool
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.