AAP-79315 Add custom CA certificate support for outbound TLS connections #250
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.62) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 255 lines diff across 3 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.332
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
1 comments
"Review active on #250"
general
weight: 0.35
kcagran
Summary
custom_ca_certinventory variable to supply a custom CA certificate (PEM) for trusting AAP servers with private/enterprise CAscommon/tasks/tls.ymlwith the upstream AAP containerized installer pattern: inlineupdate-ca-trusttask with_ca_volumesfact, checksum tracking, and conditional custom cert mountingREQUESTS_CA_BUNDLEandSSL_CERT_FILEunconditionally in dashboard container environments so the Pythonrequestslibrary uses the system trust store (which includes the custom CA)Update CA trusthandler (replaced by inline task)Test plan
custom_ca_certset in inventory pointing to a real CA cert~/aap/tls/custom.certis created on the managed hostREQUESTS_CA_BUNDLEis set in containers:podman exec automation-dashboard-task env | grep REQUESTS_CA_BUNDLEcheck_ssl=trueandverify_ssl=true, confirm authentication and data sync work against an AAP instance using the custom CAcustom_ca_certto verify no regression🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Improved TLS handling for dashboard tasks and web processes by automatically using the trusted CA bundle.
Added support for an optional custom CA certificate when verifying secure connections.
Bug Fixes
Updated certificate trust refresh behavior to run directly during TLS setup, making trust updates more reliable.
Removed an outdated trust-update step that could leave certificate changes unapplied.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
-----------
Manual test:
Inventory with
aap_auth_provider_check_ssl=true, clusters.yaml withverify_ssl=true, both worked. CA cert - containirized AAP has it at ~/aap/tls/extracted/pem/tls-ca-bundle.pem, the first entry.