visual studio 2022 coplit show:Your current Copilot license doesn't support proxy connections with self-signed certificates

huangapple go评论141阅读模式
英文:

visual studio 2022 coplit show:Your current Copilot license doesn't support proxy connections with self-signed certificates

问题

无法在Visual Studio中使用Copilot。

图片描述

当我登录Copilot时,Visual Studio显示错误,"显示:您当前的Copilot许可证不支持使用自签名证书进行代理连接。"

如何修复,我

英文:

cant used copilit at visual studio

enter image description here

when i sign in the coplit ,visual studio ,shows error, "show:Your current Copilot license doesn't support proxy connections with self-signed certificates."

how to fix it ,I

答案1

得分: 5

这是您要的翻译部分:

  • 打开 Edge 浏览器,导航到 github.com
  • 打开证书详细信息(在页面 URL 左侧的图标),然后转到证书查看器的第二个选项卡
  • 导出证书 - 另存为链(在“另存为类型”中选择链 - 在列表中的第二项) - 它应该是 PEM 格式(手动输入扩展名)

添加系统变量(NODE_EXTRA_CA_CERTS),并将其设置为 PEM 文件的路径。

启动 Visual Studio 2022,应该能正常运行。

英文:

Solution found in some post on github but you might find it useful:

  • Open Edge browser and navigate to github.com
  • Open certificate details (icon left to page url) then go to second tab in cert viewier
  • Export cert - save as chain (choose 'save as type'[chain - second in the list] in a 'save as' window) - it should be in PEM format (type extension manually)

Add system variable (NODE_EXTRA_CA_CERTS) with path to the PEM file.

Start Visual Studio 2022 and it should fly.

huangapple
  • 本文由 发表于 2023年3月31日 20:29:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/75898544.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定