πŸ‡¨πŸ‡³China @zhangjy

Dalian
Account created on 11 February 2017, over 7 years ago
  • Application Developer at IBMΒ 
#

Recent comments

πŸ‡¨πŸ‡³China zhangjy Dalian

It seems that we didn't implement tls connection for PhpRedis, and I found this Redis cluster not considering host protocol for masters
Now I work with the AWS ElasticCache Redis cluster, and Encryption in transit is enabled, so it needs to connect with TLS.

I made a simple patch based on 2900947-57.patch β†’

Add the SSL context parameter
$client = new \RedisCluster($this->getClusterName(), $this->getSeeds(), $this->getTimeout(), $this->getReadTimeout(), $this->getPersistent(), $this->getPassword(), ['verify_peer' => false]);

Now I tested on AWS ElasticCache Redis cluster, it works good.

Production build 0.69.0 2024