We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To get SSL working the following changes to Django's setting.py are needed
redis
rediss
channel_layer_port
check_hostname = False
CHANNEL_LAYER_SSL=True CHANNEL_LAYER_PROTO='redis'+'s'*CHANNEL_LAYER_SSL import ssl ssl_context = ssl.SSLContext() ssl_context.check_hostname = False CHANNEL_LAYERS = { 'default': { 'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': { 'hosts': [{ 'address': f'{CHANNEL_LAYER_PROTO}://{CHANNEL_LAYER_USER}:{CHANNEL_LAYER_PASS}@{CHANNEL_LAYER_HOST}:{CHANNEL_LAYER_PORT}/0', 'ssl': ssl_context }], 'symmetric_encryption_keys': [SECRET_KEY], "capacity": 1500, }, }, }
The text was updated successfully, but these errors were encountered:
sambles
Successfully merging a pull request may close this issue.
Issue Description
To get SSL working the following changes to Django's setting.py are needed
redis
torediss
channel_layer_port
is correctly set, currently its defaulting to 6379check_hostname = False
Example data / logs
The text was updated successfully, but these errors were encountered: