-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: add TLS URL parameters #2076
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
base: master
Are you sure you want to change the base?
Conversation
00b356c
to
1d70944
Compare
1d70944
to
fae038d
Compare
|
||
o.TLSConfig.MinVersion = uint16(q.int("TLSMinVersion")) | ||
o.TLSConfig.MaxVersion = uint16(q.int("TLSMaxVersion")) | ||
o.TLSConfig.InsecureSkipVerify = q.bool("TLSInsecureSkipVerify") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these options TLSMinVersion/TLSMaxVersion/TLSInsecureSkipVerify documented anywhere?
Before merging this, we should check if these or similar options are already used anywhere. If not, we should consider using |
@benweissmann @vmihailenco Any updates on this ? |
@benweissmann @vmihailenco, any ETA for these changes to be released? |
This pull request is marked stale. It will be closed in 30 days if it is not updated. |
Is it really too much to ask to merge this PR? I think having TLS options is a no-brainer. |
@vlasky the option names in the PR are quite inconsistent with the rest of the option names which are |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The option names in the PR are quite inconsistent with the rest of the option names which are snake_case
and the ones in the pr are CamelCase
. In the same time, the option ServerName
is introduced without any meaningful prefix, which may lead users to think this is the actual ServerName
that will be used for connecting to redis. Overall, this should be reworked. @benweissmann let me know if you would like to continue working on this or we can close this PR
Fixes #2024