Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

fix(http): trust the OS certificate store alongside bundled roots (#2746) (#2747)

xerj-org9cd77cee61a8
diff --git a/engine/Cargo.lock b/engine/Cargo.lock
index 1aaf8f41f..b7e01f175 100644
--- a/engine/Cargo.lock
+++ b/engine/Cargo.lock
@@ -4828,6 +4828,7 @@ dependencies = [
"pin-project-lite",
"quinn",
"rustls",
+ "rustls-native-certs",
"rustls-pki-types",
"serde",
"serde_json",
diff --git a/engine/Cargo.toml b/engine/Cargo.toml
index c3aa3ebbf..0070d66be 100644
--- a/engine/Cargo.toml
+++ b/engine/Cargo.toml
@@ -144,8 +144,12 @@ prost = "0.13"
# into Rust via `compile_fds` (never shelling out to protoc).
tonic-build = { version = "0.12", default-features = false, features = ["prost", "transport"] }
protox = "0.7"
-# HTTP client (for embedding proxy)
-reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "http2", "charset"] }
+# HTTP client (embedding proxy, hub, feedback). `rustls-tls-native-roots`
+# adds the OS certificate store on top of the bundled Mozilla roots, so
+# machines behind a TLS-inspecting proxy or antivirus (whose CA lives only
+# in the OS store) can still reach hub.xerj.org instead of failing with
+# rustls `UnknownIssuer` (#2746). Both root sets are loaded additively.
+reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "rustls-tls-native-roots", "http2", "charset"] }
# Testing
tempfile = "3"
# Benchmarking