summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-03-14 14:43:37 +0200
committerGitHub <noreply@github.com>2022-03-14 14:43:37 +0200
commita12b5fd5e9af55e4668c78b50388c4ffb73fdda0 (patch)
treed9210a5b58284f65ca7afd5ad411a6857109315b /redis/client.py
parenta081173b650dd73fca06d419156ab525bc1c2200 (diff)
downloadredis-py-a12b5fd5e9af55e4668c78b50388c4ffb73fdda0.tar.gz
Add support to use certificates from string in ssl connection (#2048)
* ssl string cert * fix async test * linters * change test name
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index c51ab91..8c17665 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -885,6 +885,7 @@ class Redis(AbstractRedis, RedisModuleCommands, CoreCommands, SentinelCommands):
ssl_cert_reqs="required",
ssl_ca_certs=None,
ssl_ca_path=None,
+ ssl_ca_data=None,
ssl_check_hostname=False,
ssl_password=None,
ssl_validate_ocsp=False,
@@ -966,6 +967,7 @@ class Redis(AbstractRedis, RedisModuleCommands, CoreCommands, SentinelCommands):
"ssl_certfile": ssl_certfile,
"ssl_cert_reqs": ssl_cert_reqs,
"ssl_ca_certs": ssl_ca_certs,
+ "ssl_ca_data": ssl_ca_data,
"ssl_check_hostname": ssl_check_hostname,
"ssl_password": ssl_password,
"ssl_ca_path": ssl_ca_path,