redis-rb / redis-client

Simple low level client for Redis 6+
MIT License
124 stars 60 forks source link

Make hiredis uses default CA certs #125

Closed elthariel closed 1 year ago

elthariel commented 1 year ago

Using hiredis with rediss:// url without explicitly specifying a CA file/directory fails with a quite obscure message:

Resource temporarily unavailable

After a bit of investigation I realized it was because hiredis wasn't configured with any CA, and wasn't using the default system ones. Since the ruby implementation worked and uses the default system CA, here's a proposed fix to have a consistent behavior between hiredis and the ruby driver

byroot commented 1 year ago

Thank you!

elthariel commented 1 year ago

Thank you for your amazing reactivity @byroot . I wish you a great weekend in the pink city