boulder/test/config-next
Aaron Gable 09195e6804
ocsp-responder: get minimal status info from SA (#6293)
Add a new `GetRevocationStatus` gRPC method to the SA which retrieves
only the subset of the certificate status metadata relevant to
revocation, namely whether the certificate has been revoked, when it was
revoked, and the revocation reason. Notably, this method is our first
use of the `goog.protobuf.Timestamp` type in a message, which is more
ergonomic and less prone to errors than using unix nanoseconds.

Use this new method in ocsp-responder's checked_redis_source, to avoid
having to send many other pieces of metadata and the full ocsp response
bytes over the network. It provides all the information necessary to
determine if the response from Redis is up-to-date.

Within the checked_redis_source, use this new method in two different
ways: if only a database connection is configured (as is the case today)
then get this information directly from the db; if a gRPC connection to
the SA is available then prefer that instead. This may make requests
slower, but will allow us to remove database access from the hosts which
run the ocsp-responder today, simplifying our network.

The new behavior consists of two pieces, each locked behind a config
gate:
- Performing the smaller database query is only enabled if the
  ocsp-responder has the `ROCSPStage3` feature flag enabled.
- Talking to the SA rather than the database directly is only enabled if
  the ocsp-responder has an `saService` gRPC stanza in its config.

Fixes #6274
2022-08-16 16:37:24 -07:00
..
admin-revoker.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
akamai-purger.json akamai-purger: Improve throughput and configuration safety (#6006) 2022-03-23 17:23:07 -07:00
bad-key-revoker.json Fix race condition in revocation integration tests (#6253) 2022-07-29 09:23:50 -07:00
ca-a.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
ca-b.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
cert-checker.json Support new Google CT Policy (#6082) 2022-05-25 15:14:57 -07:00
contact-auditor.json contact-auditor: Add tool to audit registration contacts (#5425) 2021-06-07 14:21:54 -07:00
contact-exporter.json Move cmd.DBConfig fields to their own named sub-struct (#5286) 2021-02-16 10:48:58 -08:00
crl-storer.json Create new crl-storer service (#6264) 2022-08-08 16:22:48 -07:00
crl-updater.json Create new crl-storer service (#6264) 2022-08-08 16:22:48 -07:00
ecdsaAllowList.yml CA: Fix startup bug caused by ECDSA allow list reloader (#5412) 2021-05-17 14:41:15 -07:00
expiration-mailer.gotmpl expiration-mailer: truncate serials and dns names (#6148) 2022-06-14 15:48:00 -07:00
expiration-mailer.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
health-checker.json Add health-checker tool and use it from startservers.py (#5095) 2020-10-06 15:01:35 -07:00
log-validator.json Honeycomb integration proof-of-concept (#5408) 2021-05-24 16:13:08 -07:00
nonce.json Honeycomb integration proof-of-concept (#5408) 2021-05-24 16:13:08 -07:00
notify-mailer.json Move cmd.DBConfig fields to their own named sub-struct (#5286) 2021-02-16 10:48:58 -08:00
observer.yml Make boulder-observer HTTP User-Agent configurable (#5484) 2021-06-14 11:08:18 -06:00
ocsp-responder.json ocsp-responder: get minimal status info from SA (#6293) 2022-08-16 16:37:24 -07:00
ocsp-updater.json ocsp-updater: remove Redis support (#6201) 2022-06-30 11:42:53 -07:00
orphan-finder.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
publisher.json integration: save hierarchy across runs (#5729) 2021-10-20 17:06:33 -07:00
ra.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00
sa.json ocsp-responder: get minimal status info from SA (#6293) 2022-08-16 16:37:24 -07:00
va-remote-a.json Honeycomb integration proof-of-concept (#5408) 2021-05-24 16:13:08 -07:00
va-remote-b.json Honeycomb integration proof-of-concept (#5408) 2021-05-24 16:13:08 -07:00
va.json Honeycomb integration proof-of-concept (#5408) 2021-05-24 16:13:08 -07:00
wfe2.json grpc: Implement a static multiple IP address gRPC resolver (#6270) 2022-08-05 10:20:57 -07:00