We are connecting to Redis which is TLS enabled. When we connect through any Redis client we need to provide the key and cert and then it connects successfully to Redis DB.
When we connect the same Redis DB through tyk gateway with useSSL: true parameter it throws error.
2021/04/22 06:19:21 http: TLS handshake error from 172.16.34.73:19986: EOF time="Apr 22 06:19:21" level=error msg="Redis health check failed" error="storage: Redis is either down or ws not configured" liveness-check=true prefix=main time="Apr 22 06:19:21" level=warning msg="Reconnecting storage: Redis is either down or ws not configured" prefix=pub-sub 2021/04/22 06:19:24 http: TLS handshake error from 10.72.2.0:8391: EOF 2021/04/22 06:19:24 http: TLS handshake error from 10.72.2.0:25578: EOF
Where we can specify the key and certs in tyk config file for gateway to connect to Redis.