-
Notifications
You must be signed in to change notification settings - Fork 1k
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
SSL not supported by hiredis driver message #1087
Comments
It seems that we are not ready to use the feature yet. redis-rb/lib/redis/connection/hiredis.rb Lines 12 to 29 in 4e76b03
|
You can use the default connector. https://github.com/redis/redis-rb/blob/master/lib/redis/connection/ruby.rb |
@supercaracal In master branch that line has been removed 86df222 because hiredis now supports ssl. But redis-rb still not working with ssl when using hiredis driver. |
@razasayed hiredis supports SSL in versions > 1.0 it seems https://github.com/redis/hiredis/blob/master/CHANGELOG.md#100---2020-08-03 |
To be clear, See the ongoing work in redis/hiredis-rb#58 (comment). |
5.0 now rely on |
Im using the latest version of redis-rb which is version 4.6.0 and also of hiredis gem, version 0.6.3. Im trying to connect to a Redis cluster in AWS which has in transit encryption enabled as follows:
client = Redis.new(url: 'the url here', ssl: true)
I get the following response:
NotImplementedError (SSL not supported by hiredis driver)
Also, trying to do
client = Redis.new(url: 'the url here', ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE })
leads to a Connection Timeout.I saw that hiredis C library has enabled SSL support (redis/hiredis#645 ). However, is SSL support still not available in the ruby version ?. Is there any other way to get SSL working with redis in ruby ?
The text was updated successfully, but these errors were encountered: