Istio Gateway - how to reuse wildcard certificate

Hi guys,

would you know how to reuse wildcard certificate for two and more gateways without the need to copy it by some script?

I am using wildcard certificates and SDS. In the gateway configuration, you simply specify the certificate secret to use. You can use the same secret as the tls.credentialName for multiple gateways.

Hi,

that’s not possible. You have create one wildcard gateway or you have to copy the secret to another one with different name.

The first approach is described in the link that I’ve posted. :slight_smile:

That is interesting. I have not encountered this issue. My typical configuration is similar to what is recommended in that link.

It is interesting. How many Gateways do you have? :slight_smile:

I wish they included YAML examples of a typical Gateway and VirtualService in this wildcard configuration.