Skip to content

SEC-05: docs/13 keychain loop would trust the *.apps-crc.testing site certificate as a root #109

Closed

Description

@ephico2real2

Part of #94

What is wrong: default-ingress-cert's bundle holds the leaf (CA:FALSE) and the CA, and the loop adds every certificate in crc-ca.pem with -r trustRoot. Also: removal should clear trust settings (remove-trusted-cert), not only delete the certificate.

Where: docs/13-crc-deployment.md, Steps only the owner can take, and crc-trust.sh --mac-ca. On main at 5dfdea3, docs/13-crc-deployment.md:59 holds the security add-trusted-cert -r trustRoot line.

How to prove it: a test that only CA:TRUE certificates are added. The tests are deploy/tests/doc13-test.py (mutant "the keychain's CA check gone") and deploy/tests/crc-scripts-test.sh (case "trust --mac-ca: a bundle with no CA stops").

Measured or inferred: Measured on CRC 2026-11-06: 2 certificates in that bundle, the first CN=*.apps-crc.testing. Found in the adversarial review of Wave 1 at fa8c27c (PR #98). Nothing has run on CRC.

Severity: Low. Nobody ran the step: the owner reported no keychain result (HANDOVER-AND-RESUME.md).

What must hold after the fix: The keychain step trusts only CA:TRUE certificates. The removal clears the trust setting first.

Research: Not on this issue. The steps are in LOCAL-DEV-TRUST.md too (PR #111), which already trusts only the CAs.

Solution: Commit 6729598 on branch ldap-rbac-names, in draft PR #112, with Closes #109. It is not merged. crc-trust.sh --mac-ca keeps only CA:TRUE certificates and writes keycloak-ca.pem and ingress-ca.pem.

Class: No class. docs/13 is merged work (PR #98), and the fix brings the step back to trusting CAs only.

Activity

  1. ephico2real2 commented on Nov 6, 2026

    @ephico2real2
    OwnerAuthor

    In PR #112. The steps are in LOCAL-DEV-TRUST.md too (PR #111), which already trusts only the CAs.

  2. added
    In-Progress
    bug
    on Nov 13, 2026
  3. added
    sev:low
    on Nov 13, 2026
  4. changed the title [-]docs/13 keychain loop would trust the *.apps-crc.testing site certificate as a root[/-] [+]SEC-05: docs/13 keychain loop would trust the *.apps-crc.testing site certificate as a root[/+] on Nov 13, 2026
  5. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    Work tag: In-Progress. Draft PR #112 (branch ldap-rbac-names, head ecc5cb3) closes this issue. The fix is commit 6729598 on that branch. The pull request is not merged, and the branch is not the default branch. Read from gh and git at 2026-11-13T09:18Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressbugsev:lowstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions