Replace a Certificate

You can replace a certificate in a deployed namespace.

  1. Obtain the new certificate .crt and .key files.
  2. Run this command (example): kubectl create secret tls cml-tls-secret --cert=<pathtocrt.crt> --key=<pathtokey.key> -o yaml --dry-run | kubectl -n <cml-workspace-namespace> replace -f -
The certificate of an existing session does not get renewed. The new certificate only applies to newly created sessions.