Repository navigation
Conversation
…-orchestrator into fix/admin-managed-apache-paths
FWO PR Review — #5530 Fix/admin managed apache pathsRound 1 of max. 5 · Reviewer: Claude Opus 5.5 ( Findings
RecommendationsFix in this PR (introduced by this diff, small, and within the PR's purpose):
Create follow-up issue:
DetailsF1 — Operator-configured Apache pair skips key, passphrase and endpoint-name checks the docs promise (medium, confidence high)
In all three cases the run passes the any-errors-fatal internalCA play, the database play migrates the schema, and Apache then fails its restart in F4 — No fixture for the new The new fixtures in
Note that the fixture block is skipped whenever the settings pin any of the Apache inputs, which is the case on a Let's Encrypt host like fwodemo. The installations this PR targets will therefore never run these cases. That is unavoidable, but it makes CI coverage the only coverage. F2 — Installed
F3 — Chain failure calls a newly configured pair "the customer managed certificate kept on" the host (low, confidence high)
Checks with no findings
Review metadata
|
|



internalca_issue_apache_certificate: false, the pair named infwo-install-settings.yml(internalca_apache_certificate/internalca_apache_private_key) is now used on every FWO vhost. Before, ownership detection overwrote it with the installed vhost paths on the run that switched away from the FWO-issued certificate (include_varsis outranked byset_fact).select-operator-apache-identity.yml: records the configured pair before anything rewrites the paths. Only a path that differs from the FWO location counts as a configured pair. Naming the FWO location, or no pair at all, still keeps whatever the installed vhost serves.internalca_fwo_apache_certificate/internalca_fwo_apache_private_key: the FWO issue location, kept separate from the operator-facing variables so the two can be compared.internalca_peer_ca_intermediate_certificateson new installations too. The upgrade path takes the chain only from that setting, not from the vhost being replaced.live/link is caught.validate-retained-chain.ymlgains optionalretained_chain_intermediatesandretained_chain_consequenceinputs. A missing intermediate or the wrong root (e.g. a Let's Encrypt ECDSA leaf under ISRG Root YE while only X1 is configured) now stops the run before the database is upgraded, instead of failing later in the integration tests.detect-pinned-variables.ymldetects inputs that the settings file pins as extra variables, which happens when the installer is launched viarun-playbook-with-sudo.sh. Fixture cases that would need to override such inputs are skipped with a message instead of failing; this fixes the integration test on hosts like fwodemo.documentation/certificates.mdgains a section on configuring an administrator-managed certificate (Let's Encrypt/certbot example, multi-root bundle, renewal and reload). The settings template and the revision history (9.7.7) are updated.