Tutorial: Deploy your SSL certificate

This tutorial will help you deploy your certificate on your Kubernetes cluster.

1. Prerequisites

Your certificate must respect the following constraints:

  • The validity date of the certificate must be correct.

  • The certificate must include at least the URL of the Saagie product.

  • The KeyUsage attribut must include the digitalSignature and keyEncipherment elements.

In case you need help generating a self-signed certificate, check the following tutorials:

2. Create and deploy

To create and deploy your certificate, run the following command line:

kubectl create secret tls saagie-common-tls --cert=cert.pem --key=cert.key -n saagie-common --dry-run=client -o yaml | kubectl apply -f -
Run the same command line to update your certificate.