Ingress controller wildcard certificate #4361
-
Hi, I'm working on a disconnected openshift environment where it's not possible to use Let's encrypt. I want to use a default wildcard certificate on the ingress controller, so that every ingress resource that is using the ingress controller will use the certificate. How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Create a secret with your wildcard certificate in the namespace where KIC is deployed kubectl create secret tls kong-proxy-tls \
--cert=path/to/cert/file \
--key=path/to/key/file For KIC installed with Helm add to your env:
ssl_cert: /etc/secrets/kong-proxy-tls/tls.crt
ssl_cert_key: /etc/secrets/kong-proxy-tls/tls.key
secretVolumes:
- kong-proxy-tls
for a general case you can read more in the docs, respective environment variables of Kong Gateway are
|
Beta Was this translation helpful? Give feedback.
-
Thanks, it worked! |
Beta Was this translation helpful? Give feedback.
Create a secret with your wildcard certificate in the namespace where KIC is deployed
For KIC installed with Helm add to your
values.yaml
the below for respective sectionsfor a general case you can read more in the docs, respective environment variables of Kong Gateway are
KONG_SSL_CERT
andKONG_SSL_CERT_KEY
.