Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.198 ·

Expired CA Certificates Auto-Removed

Entry
JSON All of v2.1.198
EntryKind: in v2.1.198,
ImprovementsSection of the release

When building the TLS trust bundle from the system certificate store, expired certificates are now silently dropped and the count is logged.

Details
  • The kqu() filter runs inside the lazy-initialised TLS trust-bundle builder (kje), which is invoked once and cached
  • For each PEM certificate in the bundle, new X509Certificate(s) is constructed and its validTo field parsed via new Date(...).getTime(); if the resulting timestamp is in the past relative to Date.now() at load time, the cert is dropped and a counter incremented
  • Certs that throw during new X509Certificate(s) construction (malformed DER/PEM) are retained rather than dropped — only cleanly-parsed, definitively-expired certs are removed
  • Certs whose validTo parses to NaN (unrecognised date format) are also retained
  • The log line is only emitted when at least one cert was dropped: "CA certs: Dropped ${r} expired certificate(s) from system store" (no message when the count is zero)
Evidence

kqu() function log (search for "CA certs: Dropped"); filter logic new Date(i.validTo).getTime() and catch { return !0 } retain-on-error branch

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.198 →

Feedback