How to connect to a Redis Server with mTLS from a pod in ServiceMesh?

Solution In Progress - Updated -

Issue

  • Redis client inside of the mesh which is trying to connect to Redis server outside of the OpenShift cluster.
  • The connection must be mTLS.
  • The following DestinationRule is used, but the Redis server does not receive the client's certificate:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: dr-redis-mtls
spec:
  host: redis.home.lan
  trafficPolicy:
    tls:
      mode: MUTUAL
      credentialName: secret-redis-client-certs

Environment

  • Red Hat OpenShift Container Platform
    • 4.8
  • OpenShift ServiceMesh
    • 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content