Skip to content

Ingress controller wildcard certificate #4361

Closed Answered by programmer04
dg410 asked this question in Q&A
Discussion options

You must be logged in to vote

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 values.yaml the below for respective sections

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 KONG_SSL_CERT and KONG_SSL_CERT_KEY.

If the above answers your question please click Mark as answer to increase visibility for others.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dg410
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants