Version
25.4.2
Which installation method(s) does this occur on?
No response
Describe the bug.
When enabling the environment variable REDIS_USE_SSL, redis throws the exception 'got an unexpected keyword argument 'ssl''. In the documentation for redis connection pool https://redis.readthedocs.io/en/stable/connections.html#redis.connection.ConnectionPool: "By default, TCP connections are created unless connection_class is specified. Use class:.UnixDomainSocketConnection for unix sockets. SSLConnection can be used for SSL enabled connections.".
So it would seem the correct way to enable ssl with a redis connection pool is to pass the connection_class.
Minimum reproducible example
Relevant log output
Other/Misc.
No response