actions / actions/setup-python

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

Đang mở
#679 15 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

feature request needs eyes
Ngôn ngữ chính
TypeScript
Star
2.2k
Fork
739
Merge trung bình
6 ngày 18 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Cập nhật docs/advanced-usage.md trong phần self-hosted runner. Giải thích nơi người dùng Windows có thể lấy các chứng chỉ bắt buộc, cách cài đặt chúng và cách cấu hình runner để tìm thấy chúng đối với lỗi “unable to get local issuer certificate”. Công việc được xem là hoàn tất khi hướng dẫn đề cập đến cả ba bước được yêu cầu và giúp workflow actions/setup-python@v4 hoạt động trên self-hosted Windows runner.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github-actions
Lĩnh vực
devops, documentation, operating-systems
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.