Skip to content
New issue

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

unable to get local issuer certificate / Self hosted runner #121

Open
fnmarquez opened this issue Jun 22, 2021 · 1 comment
Open

unable to get local issuer certificate / Self hosted runner #121

fnmarquez opened this issue Jun 22, 2021 · 1 comment

Comments

@fnmarquez
Copy link

fnmarquez commented Jun 22, 2021

I am using a self hosted runner in GHES to run this

steps:
  - uses: hashicorp/setup-terraform@v1

and I am getting this error:

Run actions/setup-terraform@v1
  with:
    cli_config_credentials_hostname: app.terraform.io
    terraform_version: latest
    terraform_wrapper: true
Error: Error: unable to get local issuer certificate
Error: unable to get local issuer certificate
@fnmarquez
Copy link
Author

I've solved this problem by setting this variable:
ENV NODE_EXTRA_CA_CERTS=/etc/pki/ca-trust/source/anchors/ca-bundle.cer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant