Configure custom SSL certificate
You can configure a custom self-signed certificate in the Kubernetes Dashboard. For more information, see NGINX Ingress Controller Guide.
Install the DataClarity platform with the self-signed certificate enabled.
If the self-signed certificate was disabled during the installation, you need to reinstall and enable it:
- Execute the install.sh script.
- Type y when asked to set up HTTPS using Self-Signed SSL Certificate.
Create a new secret using the certificate files, where ‘new-ssl’ is the name of the secret, and ‘ssl.key’ and ‘ssl.crt’ are the certificate files.Copy
kubectl create secret tls new-ssl --key="ssl.key" --cert="ssl.crt"
In the Kubernetes dashboard, edit the nginx-ingress-microk8s-controller.yaml file by adding the following SSL arg, under ‘nginx-ingress-microk8s’:
"--default-ssl-certificate=default/new-ssl", where ‘new-ssl’ is the name of the secret.