PulseAugur
中
实时 11:08:57
English(EN) Fixing "unable to get local issuer certificate" in Claude Code, Cursor, Git & npm on a Work Mac

修复工作 Mac 上 AI 编码工具的证书错误

在公司 MacBook 上使用 Claude Code 和 Cursor 等 AI 编码工具的开发者,经常会遇到证书验证错误,这是由于公司进行了 HTTPS 检查。与浏览器不同,这些工具可能不会自动信任安全网关(如 Zscaler)推送的企业根证书。这个问题之所以出现,是因为这些网关会拦截流量并使用自己的证书重新签名,而 Node.js、Electron、Python 和 Git 默认可能不识别这些证书。解决方案包括导出企业根 CA,将其与系统的公共证书包合并,并配置 AI 工具和 CLI 使用此统一的信任存储,以确保公司和公共域名的有效性。 AI

影响 通过解决证书信任问题,能够更顺畅地将 AI 编码助手集成到企业开发环境中。

排序理由 文章为 AI 编码工具用户遇到的特定软件配置问题提供了技术性解决方案。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

修复工作 Mac 上 AI 编码工具的证书错误

本文如何被排名

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
文章为 AI 编码工具用户遇到的特定软件配置问题提供了技术性解决方案。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
3 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · SWG bar ·

    修复工作Mac上的Claude Code、Cursor、Git和npm中的“无法获取本地颁发者证书”问题

    <p>You set up Claude Code or open Cursor on your company MacBook, send your first prompt—or run <code>npm install</code> or <code>git push</code>—and immediately hit a wall:</p> <ul> <li><code>unable to get local issuer certificate</code></li> <li><code>UNABLE_TO_GET_ISSUER_CERT_…