From 0713a2b568feaf6476156c19c9811a0c4646e9be Mon Sep 17 00:00:00 2001 From: Samantha Date: Thu, 15 Aug 2024 18:51:19 -0400 Subject: [PATCH] Enable key-value rate limits in the RA --- test/config-next/ra.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/test/config-next/ra.json b/test/config-next/ra.json index ba51e906a23..c71fd27cdfa 100644 --- a/test/config-next/ra.json +++ b/test/config-next/ra.json @@ -1,6 +1,30 @@ { "ra": { "rateLimitPoliciesFilename": "test/rate-limit-policies.yml", + "limiter": { + "redis": { + "username": "boulder-wfe", + "passwordFile": "test/secrets/wfe_ratelimits_redis_password", + "lookups": [ + { + "Service": "redisratelimits", + "Domain": "service.consul" + } + ], + "lookupDNSAuthority": "consul.service.consul", + "readTimeout": "250ms", + "writeTimeout": "250ms", + "poolSize": 100, + "routeRandomly": true, + "tls": { + "caCertFile": "test/certs/ipki/minica.pem", + "certFile": "test/certs/ipki/wfe.boulder/cert.pem", + "keyFile": "test/certs/ipki/wfe.boulder/key.pem" + } + }, + "Defaults": "test/config-next/wfe2-ratelimit-defaults.yml", + "Overrides": "test/config-next/wfe2-ratelimit-overrides.yml" + }, "maxContactsPerRegistration": 3, "hostnamePolicyFile": "test/hostname-policy.yaml", "maxNames": 100,