Skip to main content

Import your own certificate

Context

K8saas provides an automatic mechanism to generate a certificate, but if you want to use your own, this documentation has been made for you !

What to do ?

Just delete the cert-manager annotation,

        apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod < =========== DELETE THIS
nginx.ingress.kubernetes.io/enable-modsecurity: "true"
spec:
ingressClassName: nginx

Warning:

  • Secretname must be unique
  • nginx will be the content of your certificate in the secret