google-nomulus/java/google/registry
jianglai 628aacd754 Cache server certificates for up to 30 min
The server certificates and corresponding keys are encrypted by KMS and stored on GCS. This allows us to easily replace expiring certs without having to roll out a new proxy release. However currently the certificate is obtained as a singleton and used in all connections served by a proxy instance. This means that if we were to upload a new cert, all existing instances will not use it.

This CL makes it so that we only cache the certificate for 30 min, after which a new cert is fetched and decrypted. Local certificates used for testing are still singletons.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=206976318
2018-08-10 13:46:48 -04:00
..
backup Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
batch Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
beam Fix open source build 2018-08-10 13:44:25 -04:00
bigquery Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
builddefs Remove the deprecated, now no-op, "data" transition 2018-08-10 13:44:25 -04:00
config Add preliminary spec11 monthly pipeline 2018-08-10 13:44:25 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Add feature to disable --experimental_java_proto_library_enforce_strict_deps for 2018-08-10 13:44:25 -04:00
env Automated g4 rollback of changelist 204783809. 2018-08-10 13:46:48 -04:00
export Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
flows Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
gcs Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
groups Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
idn Update IDN tables to comply with https://www.iana.org/help/idn-repository-procedure 2018-02-01 21:59:14 -05:00
keyring Delete all Braintree code 2018-07-14 01:37:03 -04:00
loadtest Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
mapreduce Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
model Add an auto update time field to the Cursor entity 2018-08-10 13:44:25 -04:00
module Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
monitoring/whitebox Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Cache server certificates for up to 30 min 2018-08-10 13:46:48 -04:00
rdap Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
rde Move the RDE PGP file encoding to a dedicated file 2018-08-10 13:44:25 -04:00
reporting Add preliminary spec11 monthly pipeline 2018-08-10 13:44:25 -04:00
request Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
storage/drive Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tldconfig/idn Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tmch Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
tools Add an auto update time field to the Cursor entity 2018-08-10 13:44:25 -04:00
ui Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
util Wrap ModulesService in new AppEngineServiceUtils 2018-08-10 13:44:25 -04:00
whois Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
xjc Run bazel installer as a argument to bash 2018-08-10 13:44:25 -04:00
xml Pretty-print actual XML in tests 2018-07-14 01:37:03 -04:00
BUILD Remove most HTML/CSS/JS assets from the backend service WAR 2018-06-27 15:28:53 -04:00
repositories.bzl Upgrade Guava and Truth versions 2018-08-10 13:44:25 -04:00