We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my self hosted runner is giving me the error
failed, reason: unable to get local issuer certificate
if I run the command manually inside the runner,
github@xxxxx:~$ curl -L -v -H "Accept: application/vnd.github+json" -H "Authorization: Bearer xxxxx" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/xxxx/xxxx * Trying 10.149.193.153:443... * TCP_NODELAY set * Connected to api.github.com (10.149.193.153) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * TLSv1.3 (OUT), TLS handshake, Client hello (1): * TLSv1.3 (IN), TLS handshake, Server hello (2): * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): * TLSv1.3 (IN), TLS handshake, Certificate (11): * TLSv1.3 (IN), TLS handshake, CERT verify (15): * TLSv1.3 (IN), TLS handshake, Finished (20): * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.3 (OUT), TLS handshake, Finished (20): * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN, server did not agree to a protocol * Server certificate: * subject: C=US; ST=California; L=Santa Clara; O=xxxx, Inc.; CN=xxxx; CN=api.github.com * start date: Jul 6 23:19:07 2023 GMT * expire date: Jul 6 23:19:07 2024 GMT * subjectAltName: host "api.github.com" matched cert's "api.github.com" * issuer: C=US; ST=California; L=Santa Clara; O=xxxxx, Inc.; CN=xxx * SSL certificate verify ok. > GET /repos/xxxxx/xxxx HTTP/1.1 > Host: api.github.com > User-Agent: curl/7.68.0 > Accept: application/vnd.github+json > Authorization: Bearer xxxxx > X-GitHub-Api-Version: 2022-11-28 > * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): * old SSL session ID is stale, removing * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK
I think I need to make the checkout/actions use the CA at /etc/ssl/certs/ca-certificates.crt, is there an option to configure this?
The text was updated successfully, but these errors were encountered:
did you find out a solution?
Sorry, something went wrong.
Github seems to override Authorization Bearer token
+1 Experiencing this issue all of a sudden with self-hosted runners.
EDIT: curl seems to work just fine. node-fetch does not
No branches or pull requests
my self hosted runner is giving me the error
if I run the command manually inside the runner,
I think I need to make the checkout/actions use the CA at /etc/ssl/certs/ca-certificates.crt, is there an option to configure this?
The text was updated successfully, but these errors were encountered: