mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-09 20:26:33 +00:00
container cp needs its source on the node running the docker CLI, so role_path sources break on swarm workers. The joomla plugin dir now ships as a controller-side tarball through container exec -i. A new repository lint forbids docker/container cp in tracked .yml and .sh files; the six legitimate same-node uses carry justified nochecks. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
CA Trust Scripts 🔐
This directory contains platform-specific scripts for trusting the Infinito Root CA certificate on the developer's machine. For the canonical Make target index that invokes these helpers, see make.md.
All scripts extract the Root CA from a running Infinito container and install it into the appropriate system trust store, so that browsers and tools accept *.infinito.example TLS certificates without warnings.
Scripts 📄
linux.sh 🐧
Trusts the Infinito Root CA on the Linux host system.
- Extracts
root-ca.crtfrom the running Infinito container viadocker cp - Places it under
/etc/infinito.nexus/ca/root-ca.crt - Installs it into the system trust store via
roles/sys-ca-selfsigned/files/with-ca-trust.sh
Requires INFINITO_CONTAINER to be set to the name of the running container.
wsl2.sh 🪟
Trusts the Infinito Root CA on Windows from inside a WSL2 environment. Only executes when running on WSL2 (detected via /proc/version).
- Extracts
root-ca.crtfrom the running container and copies it to the WindowsDownloadsfolder - Imports the certificate into the Windows CurrentUser Root trust store via PowerShell (no admin required)
- Discovers all configured domains from the nginx config inside the container
- Updates the Windows hosts file (
C:\Windows\System32\drivers\etc\hosts) with127.0.0.1entries for all discovered domains (requires one UAC confirmation)
Related 🔗
../. TLS administration scriptsroles/sys-ca-selfsigned/. generates the self-signed Root CA inside the container