google-nomulus/java/google/registry/proxy/config
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
..
default-config.yaml Cache server certificates for up to 30 min 2018-08-10 13:46:48 -04:00
proxy-config-alpha.yaml Open source GCP proxy 2017-11-21 19:19:03 -05:00
proxy-config-local.yaml Open source GCP proxy 2017-11-21 19:19:03 -05:00
proxy-config-production-canary.yaml Add configs for production GCP proxy 2018-07-14 01:37:03 -04:00
proxy-config-production.yaml Open source GCP proxy 2017-11-21 19:19:03 -05:00
proxy-config-sandbox-canary.yaml Setup sandbox for GCP proxy 2018-04-23 14:51:35 -04:00
proxy-config-sandbox.yaml Open source GCP proxy 2017-11-21 19:19:03 -05:00