How do I add an intermediate SSL certificate to Kubernetes ingress TLS configuration?

If you add multiple certificates in tls.cert key in Kubernetes TLS Ingress Configuration. Please do this like this

-----BEGIN CERTIFICATE-----
<put your certificate value in a single line >
-----END CERTIFICATE-----
-----BEGIN INTERMEDIATE CERTIFICATE-----
<put your certificate value in a single line>
-----END INTERMEDIATE CERTIFICATE-----

Otherwise, you’ll get an error in ssl cert chain validation.

Always put main certificate first.

Leave a Comment