I have a mutual TLS enabled Istio mesh. My setup is as follows
The problem is probably as follows: istio-ingressgateway initiates mTLS to hr--gateway-service on port 80, but hr--gateway-service expects plain HTTP connections.
There are multiple solutions:
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: hr--gateway-service-disable-mtls
spec:
host: hr--gateway-service.default.svc.cluster.local
trafficPolicy:
tls:
mode: DISABLE
MUTUAL
and to use Istio certificates and the private key. Specify serverCertificate
, caCertificates
and privateKey
to be /etc/certs/cert-chain.pem
, /etc/certs/root-cert.pem
, /etc/certs/key.pem
, respectively.