Commit 201c3c9
Add ssl_ca_path support to async Redis client (#3879)
* Add ssl_ca_path support to async Redis client (#3414)
Add ssl_ca_path parameter to the async Redis client and SSLConnection
to enable specifying a directory of CA certificates, matching the sync
client's functionality.
Changes:
- Add ssl_ca_path parameter to Redis.__init__
- Add ssl_ca_path parameter to SSLConnection.__init__
- Add ca_path parameter to RedisSSLContext
- Pass capath to ssl.SSLContext.load_verify_locations()
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Add tests for ssl_ca_path and add to REDIS_ALLOWED_KEYS
- Add test_ssl_ca_path_parameter test to verify ssl_ca_path is properly
passed through to SSLConnection
- Add ssl_ca_path to REDIS_ALLOWED_KEYS tuple in cluster.py for sync
cluster client support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: petyaslavova <petya.slavova@redis.com>1 parent 5c5bdc4 commit 201c3c9
File tree
4 files changed
+38
-2
lines changed- redis
- asyncio
- tests/test_asyncio
4 files changed
+38
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
354 | 355 | | |
355 | 356 | | |
356 | 357 | | |
| 358 | + | |
357 | 359 | | |
358 | 360 | | |
359 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| 816 | + | |
816 | 817 | | |
817 | 818 | | |
818 | 819 | | |
| |||
829 | 830 | | |
830 | 831 | | |
831 | 832 | | |
| 833 | + | |
832 | 834 | | |
833 | 835 | | |
834 | 836 | | |
| |||
886 | 888 | | |
887 | 889 | | |
888 | 890 | | |
| 891 | + | |
889 | 892 | | |
890 | 893 | | |
891 | 894 | | |
| |||
901 | 904 | | |
902 | 905 | | |
903 | 906 | | |
| 907 | + | |
904 | 908 | | |
905 | 909 | | |
906 | 910 | | |
| |||
928 | 932 | | |
929 | 933 | | |
930 | 934 | | |
| 935 | + | |
931 | 936 | | |
932 | 937 | | |
933 | 938 | | |
| |||
948 | 953 | | |
949 | 954 | | |
950 | 955 | | |
951 | | - | |
952 | | - | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
953 | 960 | | |
954 | 961 | | |
955 | 962 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
0 commit comments