🇨🇳China @zhangjy

Dalian
Account created on 11 February 2017, almost 8 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.71.5 2024