Certificate is not ready
The cdm-tls-cert Certificate provides the certificate that CDM Node serves to Core Clusters. When cert-manager cannot issue it, the Secret stays empty or keeps its old content. Core Clusters cannot connect to CDM Node with a certificate that matches your domain.
Symptoms
-
The
READYcolumn of theCertificateshowsFalse:bashtext -
The events of the
Certificatereport an error. To read them, run:bash
Possible causes
To find the cause, check the following resources in this order.
The
ClusterIssueris not ready:bashThe
READYcolumn of your issuer must showTrue.The certificate request is not approved or not ready:
bashThe DNS-01 challenge fails. This applies to issuers of a certificate authority that uses the ACME protocol. List the orders and the challenges:
bashA challenge in a state other than
validcarries the reason in itsstatus.reasonfield. Typical reasons are missing DNS credentials or a DNS zone that the solver cannot change.cert-manager reports an error. Read its log:
bash
Solution
To resolve this issue, fix the cause that you found and let cert-manager retry:
Correct the
ClusterIssueror its DNS-01 solver configuration. For example, update the DNS credentials Secret that the solver uses.Wait until cert-manager issues the certificate:
bashThe command prints
certificate.cert-manager.io/cdm-tls-cert condition metwhen the issue succeeds.Verify the certificate that CDM Node serves. For the steps, see Configure the CDM TLS certificate.