2 Commits

Author SHA256 Message Date
gsadmin b2aa8a1a13 Agents follow self-signed servers: skip-verify via registry/GPO
CI / build-test (push) Successful in 15m39s
CI / images (push) Successful in 3m27s
CI / build-test (pull_request) Successful in 3m54s
CI / images (pull_request) Has been skipped
New TlsSkipVerify agent setting (DWORD, GPO policy key beats local
registry, ADMX template included) accepts the server certificate
without validation on both the enrollment HTTP call and the NATS
websocket — for servers on the managed self-signed chain with no proxy
in front; the connection stays fully TLS-encrypted. Set it via
configure --skip-tls-verify, the agent MSI SKIPTLSVERIFY=1 property
(remember-pattern like the rest), GPO, or the registry directly.

The server detects direct self-signed serving (HTTPS + no forwarded
headers) and the UI one-liners plus all generated install scripts pick
the correct scheme and add the skip-verify bits automatically —
PS5-safe callback on Windows, curl -k on unix — and configure the
agent to match. Proxied deployments are untouched: agents validate the
edge certificate normally.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-08 17:18:41 -04:00
gsadmin 6f991a844f M2: Registry/GPO configuration, runtime state, WiX MSI
- IRegistryStore seam + HKLM implementation; AgentConfigurationLoader with
  deterministic precedence (GPO > registry > dev-only env > defaults) and
  per-value provenance for future ADMX
- RuntimeStateStore for Runtime registry values, bootstrap token clearing,
  credential purge (used by MSI full uninstall via hidden CLI command)
- WiX v5 MSI: public properties with remember-pattern (blank never overwrites,
  upgrades preserve config), LocalSystem service install with failure actions,
  delayed auto-start applied via the agent's own install command, credential
  purge only on real uninstall (never upgrades)
- 10 agent configuration/state tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-06 18:50:50 -04:00