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

Add verify_hostname tls flag #896

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

rukai
Copy link
Member

@rukai rukai commented Nov 2, 2022

Redis does not allow verify_hostname at all.
Cassandra does allow verify_hostname but some users may wish to disable it.
To support both of these uses an optional verify_hostname field is added to the tls connector config.
It has the safest default value for each protocol and extra validation to ensure that redis cannot be configured to use a setting that it is not compatible with.

Redis and cassandra both support verify_hostname but some users may wish to disable it if their setup does not permit it.

@rukai rukai force-pushed the add_verify_hostname_flag branch 2 times, most recently from 572078f to b8f7c92 Compare November 2, 2022 05:30
@rukai
Copy link
Member Author

rukai commented Nov 2, 2022

Actually having tried it just now in our integration tests, redis doesnt seem to have any hard requirement forcing verify_hostname being disabled.
I'll change it from Option<bool> to bool, removing the default value and redis validation.

@conorbros conorbros merged commit da88aca into shotover:main Nov 2, 2022
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.

3 participants