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

[TLS] closes #1114 - add tlsSni option #1137

Open
wants to merge 2 commits into
base: v4
Choose a base branch
from

Conversation

alexandre-abrioux
Copy link
Contributor

Hi everyone,

This PR introduces a new boolean option tlsSni that will basically, when enabled, copy the Redis hostname to tls.servername before the connection initialization,
allowing each node of a Redis Cluster to possess its own SNI.

This PR has been opened following the issue #1114

It is also related to #948

Thank you for your time!

PS: For clusers I had to copy the options.host value to options.hostOriginal before it gets processed by the dnsLookup function, so that the original hostname could get passed to the tls.servername option instead of its IP.

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

Successfully merging this pull request may close these issues.

1 participant