google-nomulus/java/google/registry/proxy/handler
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
..
BackendMetricsHandler.java Fix proxy metrics instrumentation bug 2018-05-30 12:18:54 -04:00
EppServiceHandler.java Migrating to fluent logging (green) 2018-05-30 12:18:54 -04:00
HealthCheckHandler.java Open source GCP proxy 2017-11-21 19:19:03 -05:00
HttpsRelayServiceHandler.java Add web WHOIS redirect support 2018-08-10 13:46:48 -04:00
ProxyProtocolHandler.java Make some minor changes to logging messages and test names. 2018-08-10 13:44:25 -04:00
QuotaHandler.java Remove no quota leased warning from quota handler inactive callback 2018-05-17 21:52:35 -04:00
RelayHandler.java Migrating to fluent logging (green) 2018-05-30 12:18:54 -04:00
SslClientInitializer.java Migrating to fluent logging (green) 2018-05-30 12:18:54 -04:00
SslServerInitializer.java Cache server certificates for up to 30 min 2018-08-10 13:46:48 -04:00
WebWhoisRedirectHandler.java Add web WHOIS redirect support 2018-08-10 13:46:48 -04:00
WhoisServiceHandler.java Clean up some code quality issues in GCP proxy 2018-03-19 18:44:12 -04:00