From e21ce4e2558570093626593b3614002116fe7cf2 Mon Sep 17 00:00:00 2001 From: Stanislav Khlud <43534015+TheSuperiorStanislav@users.noreply.github.com> Date: Sat, 13 Apr 2024 06:43:55 +0700 Subject: [PATCH] Extend ssl config options (#2066) --- rq/cli/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rq/cli/helpers.py b/rq/cli/helpers.py index d4a2ab3d..db924520 100644 --- a/rq/cli/helpers.py +++ b/rq/cli/helpers.py @@ -80,6 +80,8 @@ def get_redis_from_config(settings, connection_class=Redis): 'ssl_ca_certs': settings.get('REDIS_SSL_CA_CERTS', None), 'ssl_cert_reqs': settings.get('REDIS_SSL_CERT_REQS', 'required'), 'ssl_ca_data': settings.get('REDIS_SSL_CA_DATA', None), + 'ssl_keyfile': settings.get('REDIS_SSL_KEYFILE', None), + 'ssl_certfile': settings.get('REDIS_SSL_CERTFILE', None), } return connection_class(**kwargs)