Verifying trust material before you deploy engines
Run a pre-flight check against the source Cloudera Cloud Factory project cluster before you deploy Anywhere Cloud engines, so that you catch certificate authority (CA) entries that Anywhere Cloud drops from the workload trust snapshot.
The Anywhere Cloud workload CA snapshot keeps only parseable CA
certificates that have a valid basicConstraints extension with
CA:TRUE. Leaf certificates, certificates with no
basicConstraints extension, malformed blocks, and non-certificate PEM
entries are silently dropped, which can cause engines to fail with an unknown
authority error. For background, see Certificates and trust profile management in Anywhere Cloud.
The check extracts the inline trust sources and the public certificate from the signing-CA
Secret, splits the PEM into individual certificates, and prints the Basic Constraints of
each one so that you can see which entries are eligible and which are dropped. The check
reads the public certificate tls.crt only, never the private key
tls.key.
- You have
kubectlaccess to the source Cloudera Cloud Factory project cluster. - You have
jqandopensslinstalled on your local machine.
You have confirmed which CA certificates Anywhere Cloud includes in the workload trust snapshot, and you have corrected or re-issued any dropped or unparseable material before deploying engines.
Existing Anywhere Cloud engine trust is copied when you create, upgrade, or rebuild an engine. Editing a Certificate & Trust profile does not refresh the trust snapshot of an engine that is already running. After you change profile material:
- In Cloudera Cloud Factory, run Repair on every
project that uses the profile. For projects with external DNS enabled,
dns-certsync is another available method. CA-only and trust-only projects require Repair because the sync endpoint rejects them. - Restart any pods that mount the bundle through an injected
subPathCA mount, so that they pick up the changed bundle.
