actions / actions/setup-python

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

Aperta
#679 15 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature request needs eyes
Lingua principale
TypeScript
Stelle
2.2k
Fork
739
Merge medio
6g 18h
PR unite (30g)
1

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Aggiorna docs/advanced-usage.md nella sezione relativa al runner self-hosted. Spiega dove gli utenti Windows possono ottenere i certificati richiesti, come installarli e come configurare il runner affinché li trovi per l’errore “unable to get local issuer certificate”. Il lavoro è completato quando le istruzioni coprono tutti e tre i passaggi richiesti e aiutano il workflow actions/setup-python@v4 a funzionare su un runner Windows self-hosted.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github-actions
Ambito
devops, documentation, operating-systems
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.