- Generate TLS assets (openssl):
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /tmp/tls.key -out /tmp/tls.crt -subj "/CN=foo.bar.com"
- Create a secret object that uses the TLS assets. Note: The name must be
istio-ingress-certs
:
$ kubectl create -n istio-system secret tls istio-ingress-certs --key /tmp/tls.key --cert /tmp/tls.crt
- Add thw following for the
tls:
field of the Ingress object spec:
secretName: istio-ingress-certs # currently ignored