Consumer mTLS

  • Consumer certificate validation at Istio ingress and the downstream identity boundary.
100%
One consumer TLS session · LB passes ciphertextSelected site · worker-local gateway and API podApplication JVMProposed · consumer mTLS terminates at Istio ingressAPI / businessmTLS bytesPass throughRouted HTTPLocal HTTPPresents the approved consumer client certificate and validates the OBRH ingress server certificate/SAN.API consumerDistributes TCP connections to gateway worker targets in both sites. It does not terminate the consumer TLS session or substitute an LB client certificate.Cisco L4 LBTCP passthroughSelected external mTLS terminator. The gateway validates the consumer certificate and decrypts HTTP for routing. Each gateway replica has the approved ingress identity and consumer CA trust.Istio ingressMUTUAL listenerReceives the gateway-routed HTTP request and applies local HTTP filters. Mesh workload mTLS, if separately enabled, is a distinct session and identity.Pod EnvoyHTTP controlsBusiness authentication, SMS RBAC and blacklist checks remain in the owning runtime. The original consumer TLS session ended at ingress.CMC-OBRHmTLS bytesPass throughRouted HTTPLocal HTTP

Select a component to trace its direct connections. Drag to pan · Ctrl + wheel or pinch to zoom.

  • The consumer opens mutual TLS to Istio ingress. The L4 load balancer chooses a worker and forwards encrypted bytes. Ingress presents the server identity and verifies the consumer certificate.
  • Ingress then routes the decrypted HTTP request. Certificate authentication identifies the peer, while the application still checks whether the caller may perform the business activity.
Consumer transport

Consumer transport

  • The consumer verifies the ingress server identity and presents its approved client certificate. Every ingress replica carries the selected server identity and trust bundle. Cisco chooses an eligible worker gateway target without decrypting or rewriting HTTP. Ingress decrypts the request, then applies its HTTP routing. Pod Envoy sees the forwarded HTTP request and can enforce local HTTP controls.
  • Gateway-to-workload mesh mTLS, if separately enabled, creates another session using workload identities; it does not extend the original consumer TLS session into the JVM.
  • The gateway authenticates the actual consumer in this design, not an LB client certificate. A verified certificate still needs mapping to allowed consumers; it does not replace business authorization. Strip caller-controlled identity headers before using any trusted certificate-derived identity downstream. JWT principal, certificate identity and mesh principal are different inputs.
  • Gateway Service and worker-local exposure: LoadBalancer, retained NodePort and externalTrafficPolicy: Local; the class name belongs to the compatible Cisco integration.
Worker-local gateway Serviceyaml
# Proposed Service contract; merge into the existing gateway chart.
# Example identifiers. A compatible controller must implement this class.
# The Service resource alone does not configure a Cisco appliance.
apiVersion: v1
kind: Service
metadata:
  name: obrh-ingress
  namespace: istio-iut
spec:
  type: LoadBalancer
  loadBalancerClass: networking.example.com/cisco # Replace with actual adapter class.
  externalTrafficPolicy: Local # Only ready gateway endpoints on the targeted worker.
  selector:
    istio: istio-ingressgateway # Must match the worker gateway DaemonSet labels.
  ports:
  - name: https-consumer
    protocol: TCP
    port: 443
    targetPort: 8443 # Verify effective gateway listener binding in the selected chart.
    nodePort: 31265 # Retained example port; coordinate with existing Cisco targets.
# Eligible workers each run a ready gateway. Reconcile membership, then enable it.
# healthCheckNodePort and gateway /healthz/ready are not OBRH DB health checks.
# Do not expose a second plaintext business listener as an mTLS bypass.
Consumer mTLS listener and HTTP routeyaml
# Selected external session: consumer -> L4 passthrough LB -> Istio gateway.
# Example values only; provision credentials through the approved PKI mechanism.
apiVersion: v1
kind: Secret
metadata:
  name: obrh-consumer-ingress
  namespace: istio-iut
type: Opaque
stringData:
  tls.crt: |
    <INGRESS_SERVER_CERTIFICATE_AND_CHAIN_PEM>
  tls.key: |
    <INGRESS_SERVER_PRIVATE_KEY_PEM>
  ca.crt: |
    <APPROVED_CONSUMER_CA_BUNDLE_PEM>
---
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: obrh-consumer-mtls
  namespace: istio-iut
spec:
  selector:
    istio: istio-ingressgateway
  servers:
  - port:
      number: 443
      name: https-consumer
      protocol: HTTPS
    hosts: [api.bank.example]
    tls:
      mode: MUTUAL # Gateway verifies the consumer, not an LB certificate.
      credentialName: obrh-consumer-ingress
      subjectAltNames: [consumer.bank.example] # Replace with approved consumer identities.
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: obrh-consumer-entry
  namespace: obrh-example
spec:
  hosts: [api.bank.example]
  gateways: [istio-iut/obrh-consumer-mtls]
  http:
  - name: direct-example
    match:
    - uri:
        prefix: /direct/
    route:
    - destination:
        host: obrh-direct.obrh-example.svc.cluster.local
        port:
          number: 8080
    retries:
      attempts: 0 # Business retry safety is not implied by mTLS.
  - name: il-example
    match:
    - uri:
        prefix: /il/
    route:
    - destination:
        host: obrh-il.obrh-example.svc.cluster.local
        port:
          number: 8080
    retries:
      attempts: 0
# Prefixes/services illustrate separate flavours; preserve real route rewrites.
# TLS server certificate must contain the ingress hostname's SAN.
# Internal mesh mTLS, when selected, is a separate workload-identity contract.