Certificate issuer and DNS provider variables

Set the certificate issuer variables to control which issuer provides the certificates for the deployment, and set the DNS provider variables when cert-manager validates the certificates through your DNS provider.

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 certificate authority. The following table lists the modes:

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 own certificate authority (CA_CERT_FILE and CA_KEY_FILE)The ccf-ca-secret TLS Secret in the cert-manager namespace
selfsignedA root certificate that cert-manager generatesNothing

The installer does not create the ClusterIssuer itself. It writes cert_issuer, acme_dns_provider, acme_email, route53_region, and dns_zones 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 the Cloudera Cloud Factory API, which hands it to new clusters for Kubernetes OIDC.

For acme, the installer derives the DNS-01 solver zones from the Cloudera Cloud Factory host names by removing the first label of each host name, and it supports several zones.

Table 2. Certificate issuer and DNS provider variables
VariableDescriptionMandatoryDefault
ACME_EMAILSpecifies the account email address for ACME certificate issuance.Yes, when CERT_ISSUER is acmeNone
CA_CERT_FILEReferences the certificate authority certificate file in PEM format. The certificate must be an X.509 version 3 CA certificate. When you run the installer from the container image, the path is the mount point inside the container.Yes, when CERT_ISSUER is caNone
CA_KEY_FILEReferences the certificate authority private key file in PEM format. When you run the installer from the container image, the path is the mount point inside the container.Yes, when CERT_ISSUER is caNone
CERT_ISSUERSelects the issuer behind the letsencrypt ClusterIssuer. Valid values: acme, ca, selfsigned.Yes, unless DNS_PROVIDER is noneNone
CLOUDFLARE_API_TOKENSpecifies a Cloudflare token that carries DNS edit permissions.Yes, when DNS_PROVIDER is cloudflareNone
DNS_PROVIDERSelects the DNS-01 provider for CERT_ISSUER=acme. Valid values: cloudflare, route53. The value none creates no issuer when you do not set CERT_ISSUER.Yes, when CERT_ISSUER is acmeNone
ROUTE53_ACCESS_KEY_IDSpecifies the access key ID that cert-manager uses for Route 53.Yes, when DNS_PROVIDER is route53None
ROUTE53_REGIONSpecifies the region for the Route 53 API calls.Yes, when DNS_PROVIDER is route53None
ROUTE53_SECRET_ACCESS_KEYSpecifies the secret access key that cert-manager uses for Route 53.Yes, when DNS_PROVIDER is route53None

With ca, the installer stores the certificate and the key as the ccf-ca-secret TLS Secret in the cert-manager namespace, and labels the Secret so that the trust bundle includes the CA. Use this mode for environments without public DNS, and when you want Cloudera Cloud Factory to use certificates from your own certificate authority. To create a certificate authority, see Generating a self-signed certificate authority.

The installer remains compatible with earlier configuration files:

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