Certificate issuer

The CERT_ISSUER variable selects the issuer behind the letsencrypt ClusterIssuer, which every ingress uses, in acme, ca, or selfsigned mode.

The CERT_ISSUER variable selects the issuer behind the ClusterIssuer named letsencrypt, which every ingress uses. The issuer has this name in every mode, also when it holds your own CA.

Table 1. Certificate issuer modes
CERT_ISSUERIssuerThe installer creates
acmeLet's Encrypt, with DNS-01 validation through DNS_PROVIDER (cloudflare or route53)The DNS credential Secret in the cert-manager namespace
caYour CA (CA_CERT_FILE and CA_KEY_FILE)The TLS Secret ccf-ca-secret in the cert-manager namespace
selfsignedA root that cert-manager generatesNothing

In an air gap, the public ACME service is not reachable. Use ca or selfsigned.

The installer does not create the ClusterIssuer itself. It writes cert_issuer, acme_dns_provider, acme_email, and route53_region to the cluster-vars ConfigMap, and the ccf artifact creates the issuer. The wait-cert-manager phase waits for the issuer to appear. For ca and selfsigned, the ccf artifact also publishes the root certificate to taikun-api, which hands it to new clusters for Kubernetes OIDC.

Table 2. Certificate issuer variables
VariableDescriptionMandatory
CERT_ISSUERIssuer type: acme, ca, or selfsigned.Yes, unless DNS_PROVIDER is none
DNS_PROVIDERDNS-01 provider for acme: cloudflare or route53. The value none skips the issuer when CERT_ISSUER is not set.If acme
ACME_EMAILAccount email for the ACME registration.If acme
CA_CERT_FILEPath to the CA certificate in PEM format.If ca
CA_KEY_FILEPath to the CA private key in PEM format.If ca

With ca, the installer stores the certificate and the key as the TLS Secret ccf-ca-secret in the cert-manager namespace. The certificate must be an X.509 version 3 CA certificate, as described in Preparing the private CA and trust bundle.

Backward compatibility

  • Without CERT_ISSUER, the value DNS_PROVIDER=cloudflare or DNS_PROVIDER=route53 means acme.
  • The value DNS_PROVIDER=selfsigned is deprecated and means ca. It uses the same ccf-ca-secret Secret and the same issuer as before.
  • The value DNS_PROVIDER=none with no CERT_ISSUER creates no issuer.
  • If the cluster-vars ConfigMap has no cert_issuer key because an older installer created it, Flux keeps the existing issuer until you run the installer again.
  • If the ccf artifact is older than its cert-issuer Kustomization, the wait-cert-manager phase applies to the issuer itself, as older installers did. This works for acme and ca only. The selfsigned mode needs a newer artifact.