英文:
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
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论