You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For testing, I use a redis that only accepts TLS connections, with a certificate that does not match the Redis hostname.
My broker is configured is with the following URL: BROKER_URL = "rediss://:password@localhost:6379/1?ssl_check_hostname=false&ssl_cert_reqs=required&ssl_certfile=./localhost.crt&ssl_keyfile=./localhost.key&ssl_ca_certs=./CA.crt".
ssl_check_hostname is left as-is ("false"), and is evaluated to True when a Redis connection is created:
In kombu/transport/redis.py, we have
For testing, I use a redis that only accepts TLS connections, with a certificate that does not match the Redis hostname.
My broker is configured is with the following URL:
BROKER_URL = "rediss://:password@localhost:6379/1?ssl_check_hostname=false&ssl_cert_reqs=required&ssl_certfile=./localhost.crt&ssl_keyfile=./localhost.key&ssl_ca_certs=./CA.crt"
.ssl_check_hostname is left as-is ("false"), and is evaluated to True when a Redis connection is created:
In
kombu/transport/redis.py
, we haveIf I patch
kombu/utils/url.py
(line 42) with a boolean interpretation ofssl_check_hostname
, everything work as expected.The text was updated successfully, but these errors were encountered: