- Security
Set up your custom domain TLS certificate
The TLS certificate is a vital security element. Follow this tutorial to set up your custom TLS certificate in Kyma.
NOTE: This procedure can interrupt the communication between your cluster and the outside world for a limited period of time.
Prerequisites
- New TLS certificate and key for custom domain deployments, base64-encoded
kubeconfig
file generated for the Kubernetes cluster that hosts the Kyma instance
Steps
- Export your domain, new certificate, and key as the environment variables.
Click to copy
export DOMAIN={YOUR_DOMAIN}export TLS_CERT={YOUR_NEW_CERTIFICATE}export TLS_KEY={YOUR_NEW_KEY}
- Deploy Kyma with your custom domain certificate. Run:
Click to copy
kyma deploy --domain $DOMAIN --tls-crt $TLS_CERT --tls-key $TLS_KEY
The process is complete when you see the Kyma installed
message.