Skip to content
New issue

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

[ci skip] Redis adapter SSL/TLS connection information ( action cable docs). #42238

Merged
merged 2 commits into from
May 17, 2021

Conversation

ashiksp
Copy link
Contributor

@ashiksp ashiksp commented May 17, 2021

Summary

Followup for this comment to add redis adapter ssl_params documentaiton.

Redis 6 requires TLS to connect. However, Heroku support explained that they manage requests from the router level to the application level involving Self Signed Certs. Turns out, Heroku terminates SSL at the router level and requests are forwarded from there to the application via HTTP while everything is behind Heroku's Firewall and security measures.

When Redis adapter is used for action cable, we can pass ssl_params to skip certificate check. Also there are more valid attributes which can be passed in ssl_params. Added these informations to action cable configuration doc section.

Other Information

Heroku documentation

cc: @pixeltrix @zzak

@rails-bot rails-bot bot added the docs label May 17, 2021
@ashiksp ashiksp changed the title [ci skip] Added action cable redis adapter SSL/TLS connection information to docs. [ci skip] Redis adapter SSL/TLS connection information ( action cable docs). May 17, 2021
We don't want to make this easily copy&paste-able to avoid people
unnecessarily using this mode without fully understanding the
implications.

Also updated the docs to link to ruby-lang.org version for OpenSSL.
@zzak zzak merged commit a33bbb2 into rails:main May 17, 2021
@ashiksp ashiksp deleted the redis-adapter-ssl-docs branch June 18, 2021 08:46
@omontigny
Copy link

Hello,
Does someone know in which Rails Version this :ssl_params appears in cable.yml ?
because in my Rails 5.1.7 ActionCable seems not using it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants