Explain what to do when an application expects ca.crt in the certificate Secret #2271
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 410 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.360
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #2271"
general
weight: 0.35
lunarwhite
Rendered preview:
ca.crtin the same Secret as the certificateca.crt?Fixes: https://github.com/cert-manager/cert-manager/issues/1571
Fixes: https://github.com/cert-manager/trust-manager/issues/222
The FAQ and the trust page explain why
ca.crtmust not be used as a trust store. They do not say what to do when a chart or operator insists on a single Secret withtls.crt,tls.keyandca.crt. That is the recurring question behind cert-manager/cert-manager#1571 and cert-manager/trust-manager#222, and it has kept both issues alive for years.This PR adds a section to the trust page, "My application expects
ca.crtin the same Secret as the certificate", and links to it from the FAQ entry. The section:ca.crtis usually a trust store for client or peer authentication, so a public CA must never be used there;caSecret.name, RabbitMQ cluster operatorcaSecretName, Istio Gateway<credentialName>-cacert, ingress-nginxauth-tls-secret, Gateway APIBackendTLSPolicy);ca.crtinto the cert-manager Secret from another controller is unsafe.<details>
<summary>Evidence for the claims in the new section</summary>
ca.crtwhen the issuer returns a CA: issuing/internal/secret.go#L165-L167.ca.crtin the Secret as "issuer provides CA" (policies/checks.go#L107), but truststores are built from the CertificateRequest CA (secret.go#L305, #L363). An injectedca.crtwith keystores enabled therefore never satisfies the check.caSecret.name: userguide v2.8.0 line 214.caSecretName: rabbitmqcluster_types.go v2.22.5 line 374.tls-ca-cert-fileauthenticates clients and peers: redis.conf 8.10.1 lines 233-237.</details>
[Claude Fable 5.1]