# NousResearch/hermes-agent · Windows truststore get_ca_certs() NotImplementedError handling

## Open now

- Nothing open on GitHub.

A bug where truststore (pip-system-certs) raises NotImplementedError from get_ca_certs() on Windows causes OpenAI client initialization to fail with an empty error. Multiple fix attempts address tolerating this unsupported method in the SSL/CA bundle guard.

## TL;DR

- 6 member(s): 0 open issue(s), 3 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #81631. Verify it addresses your case.
- **Recommended:** read PR #81631 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-81631`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.38`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #49014: fix(ssl_guard): NotImplementedError from get_ca_certs() on Windows due to truststore
- #49937: \[Bug\]: Failed to initialize OpenAI client: (empty error) for openai-codex provider on Windows — every fresh agent init fails (CLI, api_server, Desktop); gateway warm path unaffected
- #53967: \[Bug\]: Empty "Failed to initialize OpenAI client:" error when truststore (pip-system-certs) is active

## Prior & competing PRs

- **#81631: fix(ssl_guard): tolerate truststore SSLContext.get_ca_certs() NotImplementedError on Windows**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/ssl_guard.py`, `tests/agent/test_ssl_ca_guard.py`
- **#49023: fix(ssl): tolerate truststore get_ca_certs gaps**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#81631`, `#49945`, `#49023`, `#49945`, `#53970`
- **#53970: fix(ssl): tolerate truststore's unsupported get_ca_certs() in CA bundle guard**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#81631`, `#49945`, `#49023`, `#49945`, `#53970`

## Fix status

- Merged to main in PR #81631 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-08`.
- Subsystem: `agent`
