v0.4.8 — 修复 Windows 10 证书信任问题
修复
Windows 10 证书信任问题(Issue #9 后续)
v0.4.7 修复了安装校验,但证书 profile 与 Windows 10 Schannel / Chromium 130 严格校验不兼容,导致:
- curl (schannel):
CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - Trae IDE:
http: TLS handshake error from 127.0.0.1:xxxxx: EOF
根因:CA 证书声明了 KeyUsageCRLSign,却没有 CRLDistributionPoints 扩展,Schannel 发起 CRL 查询但找不到端点,触发撤销检查失败。
本次修复(v2 证书 profile):
| 项 | v0.4.7 及更早 | v0.4.8 |
|---|---|---|
CA KeyUsage |
CertSign | CRLSign |
CertSign(去掉 CRLSign) |
CA MaxPathLen |
未设 | 0(MaxPathLenZero=true) |
服务器 KeyUsage |
DigitalSignature |
DigitalSignature | KeyEncipherment |
服务器 ExtKeyUsage |
ServerAuth |
ServerAuth | ClientAuth |
| 服务器 IP SAN | 无 | 127.0.0.1 |
| TLS 握手链 | 仅叶子 | 叶子 + CA 完整链 |
自动迁移
trae-proxy init 会自动检测旧 profile CA,并执行无感知迁移:
[init] detected legacy CA profile (v0.4.7 or earlier), regenerating for Windows 10 compatibility...
升级方法:
trae-proxy update
trae-proxy init # Windows 需管理员 PowerShell;macOS/Linux 需 sudoWindows 10 用户操作步骤
- 以管理员身份打开 PowerShell
trae-proxy updatetrae-proxy init(自动迁移旧 CA,重新安装信任)trae-proxy restart
迁移完成后 curl / Trae IDE 的 TLS 握手错误应消失。如仍有问题,请在 Issue #9 回复日志。
Full Changelog: v0.4.7...v0.4.8