{"version":"2.1.337","anchor":"new-env-kill-switch-for-nss-private-view-handling-in-agent-p","canonical_anchor":"new-env-kill-switch-for-nss-private-view-handling-in-agent-p","heading":"Agent proxy updates browser certificate stores in a safer way","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/new-env-kill-switch-for-nss-private-view-handling-in-agent-p","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Agent proxy updates browser certificate stores in a safer way\n\nThe agent proxy now adds its certificate to NSS stores through a temporary copy, and `CCR_AGENT_PROXY_NSS_PRIVATE_VIEW_DISABLED` turns this off\n\n**What**\n\nThe agent proxy is a go-between that carries an agent's network traffic. It adds its own security certificate to NSS databases, the certificate stores used by Firefox and some other programs. Before, it changed the real store directly.\n\nNow it copies the certificate and key files into a temporary private folder and makes the change there. Then it updates the configuration file in the real folder. If any of those files is not an ordinary file, it skips the update and logs that the store was not updated.\n\nThis is on by default. Set `CCR_AGENT_PROXY_NSS_PRIVATE_VIEW_DISABLED` to go back to the old direct method.\n\n**Why**\n\nChanging a copy first is a safer way to touch a store that browsers rely on for trusted certificates.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}