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.test 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 cpPlaces it under
/etc/infinito.nexus/ca/root-ca.crtInstalls it into the system trust store via
roles/sys-ca-selfsigned/files/shell/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 WindowsDownloadsfolderImports 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)