google-nomulus/javatests/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 Wrap ModulesService in new AppEngineServiceUtils 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 Format .bzl files with buildifier 2018-07-14 01:37:03 -04:00
config Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
cron Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
dns Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -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
groups Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
keyring Delete all Braintree code 2018-07-14 01:37:03 -04:00
mapreduce/inputs Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
model Add an auto update time field to the Cursor entity 2018-08-10 13:44:25 -04:00
module Add ResaveEntityAction to BackendRequestComponent 2018-07-14 01:37:03 -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 third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
rde Move the RDE PGP file encoding to a dedicated file 2018-08-10 13:44:25 -04:00
reporting Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
request Remove transition code for set of parameter refactoring 2018-07-14 01:37:03 -04:00
security Improve internal build system speed 2018-06-27 15:28:52 -04:00
server Delete all Braintree code 2018-07-14 01:37:03 -04:00
storage/drive Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
testing Migrate callers of Truth's Subject.failWithRawMessage to Subject.failWithoutActual 2018-08-10 13:44:25 -04:00
tldconfig/idn Merge JUnitBackport's expectThrows into assertThrows 2018-03-06 18:56:15 -05:00
tmch Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -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 Clean up internal imports in BUILD files 2018-07-14 01:37:03 -04:00
xml Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00