Windows certificate stores
Discover public X.509 certificate metadata in explicitly selected Windows stores. The collector reads existing stores without retrieving private keys or changing store contents. Store membership does not establish trust, deployment, or runtime use.
Release status
Source scanner and Windows x86_64 foreground binary 0.26.28 add this capability. Earlier 0.26.27 binaries do not include it. Check the scanner version before configuring store discovery. Both collectors passed real Windows API checks, comparison with .NET root-store inventory, and live managed inventory/CBOM scans. Windows service-account execution remains a separate acceptance requirement.
Select the account and stores
CurrentUser means the account running the agent. For a Windows service, that is
the service identity, which may differ from the interactive administrator.
LocalMachine selects machine stores. A scan does not enumerate other user
profiles or remote computers.
Supported store names are MY, ROOT, CA, TrustedPeople, TrustedPublisher,
and Disallowed. Select each explicitly, for example CurrentUser/MY or
LocalMachine/ROOT. Read permission is sufficient; the collector does not request
administrator elevation. A certificate in Disallowed remains inventory evidence,
not a trusted certificate.
Check locally
From the source scanner directory in an environment with the locked dependencies:
python qr.py windows-certificates --store CurrentUser/MY --store LocalMachine/ROOT --source workstation-42 --output certificates.json
Use a stable, unique host label for --source. Output includes fingerprints,
subject and issuer names, validity dates, public-key parameters, signature
algorithms, certificate usages, and the selected store. These names can identify
internal systems: handle the report as security inventory.
The JSON report marks analysisComplete: false and exits with status 2 when a
store cannot be read or a bound is reached. Inspect diagnostics; do not interpret
an incomplete or empty failed scan as proof that no certificates exist. Certificate
contexts are released if the scan is cancelled. A store can change during a scan,
so the collector does not claim an atomic snapshot.
Permit managed scans
Add the exact stores to the local agent configuration:
{
"source": "workstation-42",
"managedConfiguration": true,
"allowedWindowsCertificateStores": ["CurrentUser/MY", "LocalMachine/ROOT"]
}
Run python qr.py doctor --config agent.json to validate configuration, platform,
and dependencies. It checks setup without enumerating certificate stores.
The agent must be enrolled with the windows-certificates capability. A managed
scan selects one store as its target. Central configuration can narrow the locally
approved list, but cannot add stores beyond it. Omitting the list from a managed
configuration disables this scope.
Incomplete scans are not uploaded as successful inventory. Complete observations
retain store provenance in inventory and CBOM, including explicit false flags for
signature verification, private-key access, and runtime-use verification. Generic
EC keys remain EC; the collector does not infer ECDSA or ECDH use from the key.
Queue or schedule a store scan
In Discovery scans, choose New discovery scan and select Windows certificate
stores. Choose an approved store such as CurrentUser/MY or LocalMachine/MY, then
select a compatible Windows agent. The store suggestions cover the twelve supported
user/machine store combinations; the agent still enforces its local store allowlist.
CurrentUser refers to the agent or service account, not the person using the website.
Only public certificates are read; this does not access private keys.
For recurring discovery, use Discovery schedules > Create schedule and select the same scanner and approved store. Configure and validate the agent's local scope before queuing or scheduling work.