toluaina / pgsync

Postgres to Elasticsearch/OpenSearch sync
https://pgsync.com
MIT License
1.1k stars 172 forks source link

Feature: Add Redis SSL/TLS support #445

Closed elartey closed 1 year ago

elartey commented 1 year ago

Description:

As mentioned in the issue #444, pgsync currently does not support connecting to redis via SSL/TLS. This proves to be a challenge in environments where a SSL/TLS connection is required for Redis.

Todo:

elartey commented 1 year ago

@toluaina please take a look at this when you can. I noticed there was some earlier work concerning enabling SSL/TLS in Redis but it was incomplete. This PR I believe will complete it. Let me know what you think.

P.S. Awesome work you're doing here 👏🏾

johhud1 commented 5 months ago

Any reason this PR was closed and not merged? Are there any plans to implement this feature?

Would be useful for me. If there's any help I can provide, let me know.

johhud1 commented 5 months ago

Ok , may have answered my own question.

To any future readers/googles. It seems this PR is about allowing pgsync to connect to redis via SSL with self-signed certs. However, if you're simply looking to connect to redis with a SSL/TLS secured connection with standard certs, you need only export REDIS_SCHEME=rediss before launching pgsync to enable that functionality.