Certificates and trust profile management in Anywhere Cloud
Cloudera Anywhere Cloud relies on the Certificate & Trust profile that you configure on the Cloudera Cloud Factory project. Understand how Anywhere Cloud consumes that profile before you install the console or deploy engines, so that workloads trust the certificates they encounter.
You create and manage the Certificate & Trust profile in Cloudera Cloud Factory, and then bind it to the project that hosts Anywhere Cloud. This topic describes only how Anywhere Cloud uses the material from that profile.
The Anywhere Cloud workload certificate authority snapshot
When Anywhere Cloud builds the trust that workloads use, it keeps only
certificate authority (CA) certificates that parse correctly and that have a valid
basicConstraints extension with CA:TRUE. Anywhere Cloud silently drops the following entries from the workload CA
snapshot, even when the profile accepted them as input:
- Leaf certificates, which have
CA:FALSE. - Certificates with no
basicConstraintsextension. - Malformed certificate blocks and non-certificate PEM entries.
When a required CA is dropped, an endpoint can be absent from workload trust, and engines
fail with an unknown authority error. No log identifies the dropped entry.
Dropping non-CA entries is intentional. To avoid this, add the issuing CA of an endpoint to
the profile rather than the endpoint's leaf or wildcard certificate, and verify the material
before you deploy engines. See Verifying trust material before you deploy engines.
Image pulls and chart fetches use separate trust paths
A private-CA or air-gapped registry involves two separate trust paths, and satisfying one does not satisfy the other:
- Node and container runtime image pulls. The CA that Cloudera Cloud Factory installs for
containerdcovers node-level image pulls. - Flux chart fetches. The Flux source controller does not read the node trust store
or the
ccf-trust-bundle. You must also supply the registry CA through the chart's registry-CA configuration so that theHelmRepositorycan reference it.
A successful container image pull therefore does not prove that Flux trusts the registry. For the procedure to supply and verify the registry CA, see Supplying and verifying registry certificate authority.
Engine trust is captured at create, upgrade, and rebuild
Existing Anywhere Cloud engine trust is copied when you create,
upgrade, or rebuild an engine. Editing a Certificate & Trust
profile does not automatically refresh the trust snapshot of an engine that is
already running. After you change profile material, run Repair in Cloudera Cloud Factory on every project that uses the profile so that the change
reaches existing clusters, and restart any pods that mount the bundle through an injected
subPath. For the Anywhere Cloud steps and caveats,
see Verifying trust material before you deploy engines.
