actions / actions/setup-python

Advise users of self-hosted Windows runners how to resolve: "unable to get local issuer certificate" error

未关闭
#679 15 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature request needs eyes
主要语言
TypeScript
星标
2.2k
派生
739
平均合并
6 天 18 小时
30 天内合并 PR
1

描述

I'm using a self-hosted Windows 10 runner with GHES 3.6.5. The actions/setup-python@v4 step in my workflow fails with:
unable to get local issuer certificate. I presume I need to get a certificate from the server somewhere, install it in Windows and tell my self-hosted runner where to find it. But the instructions at https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-setup-python-with-a-self-hosted-runner do not say anything about certificates.

Description:
Add a section to the instructions for the setup-python action (possibly at https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-setup-python-with-a-self-hosted-runner) to explain how to resolve the unable to get local issuer certificate error. E.g., Please explain:

  1. Where to get the certificate(s) from.
  2. Where/how to install the certificate(s) in Windows.
  3. How to configure a self-hosted runner so that it can find the certificates.

Justification:
Get the setup python task to work.

Are you willing to submit a PR?
No, sorry.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

更新 docs/advanced-usage.md 中关于 self-hosted runner 的部分。说明 Windows 用户可以从哪里获取所需的证书、如何安装证书,以及如何配置 runner,使其能够针对“unable to get local issuer certificate”错误找到这些证书。完成的标准是:说明涵盖要求的全部三个步骤,并帮助 actions/setup-python@v4 workflow 在 self-hosted Windows runner 上正常运行。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
devops, documentation, operating-systems
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。