On Windows, /sandbox install now sets up the certificate needed for sandboxed HTTPS, reporting partial success on failure.
What's wrong with this entry?
/sandbox install on Windows now sets up a certificate authority for sandbox TLS inspection as part of the install, and reports partial success instead of failing outright when that step does not work.
- Calls ensurePersistentWindowsCa, which generates or reuses a CA under LOCALAPPDATA\sandbox-runtime\ca (ca.json, cert.pem, key.pem) and regenerates it within 30 days of expiry.
- Trusts the CA for the sandbox account via
srt-win user trust-ca. - Only runs on Windows and only when the sandbox config source is "managed".
- Failures return status "partial" with either "The sandbox TLS inspection CA couldn't be trusted for the sandbox user" or "The sandbox TLS inspection CA couldn't be created", and log sandbox_windows_install/trust_ca_failed or persistent_ca_failed.
- Success messages gain a restart suffix when one is needed.
Restart Claude Code to enable TLS inspection for this session.
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.228
Headless plugin install refreshes the plugin cache in the background
Both mention install
-
v2.1.236
macOS sandbox re-applies read and delete denials inside writable folders
Both mention sandbox
-
v2.1.236
Sandbox proxy no longer writes to sockets that have gone away
Both mention sandbox