الاتصال بـ Elasticache Redis مع تفعيل TLS (التشفير أثناء النقل)

يستخدم نظام Discourse لدينا مجموعة Redis تم إنشاؤها في Amazon ElastiCache، مما يتيح تمكين التشفير أثناء النقل (TLS). ومع ذلك، بمجرد تمكين TLS في ElastiCache، يفشل Discourse في الاتصال بـ Redis.

يبدو أن Discourse لا يدعم هذه الميزة، على الرغم من أن عميل redis-rb يدعمها كما هو مذكور في المشكلة المماثلة هنا Redis::ConnectionError: Connection lost (ECONNRESET) when using ElastiCache with TLS enabled · Issue #771 · redis/redis-rb · GitHub

إعجابَين (2)

I’m adding pr-welcome on that. Feel free to submit one @Yevhenii_Baraniuk :wink:

3 إعجابات

Update: I started implementing this feature but faced the problem that hiredis driver which Discourse uses doesn’t support SSL at the moment (as for Jul 2019), though redis-rb client does. I’ll come back to the PR once the new version of hiredis is released which is going to support SSL :slight_smile:

4 إعجابات

بما أن مكتبة hiredis قد توقفت عن العمل بفضل @sam، فقد أنشأت هذا الطلب الدمجي (PR) الذي يضيف إمكانيات TLS إلى اتصالاتنا بـ Redis:

أنا أجربها الآن وهي تعمل.

4 إعجابات