<!-- Generated by website/scripts/sync-docs.mjs from docs/guide/paths.md. Edit that file, not this one. -->

# Checking other clients' trust stores

> Every page of this site: https://dyokto.github.io/y509/docs/llms.txt

`validate` answers for the machine you run it on. `paths` answers for other clients: it builds every path from the leaf to the roots of each bundled trust store snapshot (curl, certifi, Debian, OpenJDK, Chrome Root Store) and says per store whether the chain validates as sent.

```bash
y509 paths example.com:443
y509 paths chain.pem --store curl,debian-12 --at 2026-04-01
y509 paths --list-stores
```

```text
$ y509 paths letsencrypt.org:443 --store curl-2021-10-26,curl-2026-12-03,debian-12
STORE            VERSION           RESULT
curl-2021-10-26  2021-10-26        ✅ validates
curl-2026-12-03  2026-12-03        ✅ validates
debian-12        20230311+deb12u1  ✅ validates
```

| Verdict | Exit | Meaning |
| :--- | :--: | :--- |
| validates | 0 | a path exists from what the server sent |
| needs intermediate | 1 | a path exists only through a bundled intermediate or cross-sign the server did not send |
| fails | 1 | no path to this store's roots |

`paths` also exits 1 when a certificate block in the input cannot be read, and refuses input that holds more than one chain.

Sources, versions and hashes of every snapshot are in [`PROVENANCE.md`](https://github.com/dyokto/y509/blob/main/internal/truststore/data/PROVENANCE.md); `make trust-stores` regenerates them. Where results can differ from the real client:

- Paths are built by Go's `crypto/x509`, not the client's own verifier.
- Revocation, NSS distrust-after dates and OpenJDK distrust policies are not checked. Chrome constraints are those of the newest Chrome.
- Trust bits other than serverAuth are known only for Debian.
- A distrust-after date is compared with the leaf's `notBefore`, which the issuer sets. Chrome uses the earliest SCT timestamp, so a backdated leaf can pass here and fail in Chrome; such a pass carries a `distrust date from notBefore` finding.
