phpredis returns "Couldn't map cluster keyspace using any provided seed" error when trying to connect to AWS ElasticCache for Redis cluster with tls/ssl turned on.
Everything is working fine if the AWS ElasticCache for Redis cluster has no tls/ssl turned on.
I am running my code in an EC2 within same vpc and subnet like the Redis-cluster.
Here is my connection code from php
$this -> redis = new RedisCluster(null, Array('tls://url1.10j6zb.aps1.cache.amazonaws.com:6379','tls://url2.10j6zb.aps1.cache.amazonaws.com:6379'));
Any idea how to resolve this?