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

Error: self-signed certificate in certificate chain #560

Closed
edgarmiro opened this issue Dec 18, 2024 · 1 comment
Closed

Error: self-signed certificate in certificate chain #560

edgarmiro opened this issue Dec 18, 2024 · 1 comment

Comments

@edgarmiro
Copy link

Hi! I'm experiencing this error:

Run softprops/action-gh-release@v2
  with:
    token: ***
⚠️ Unexpected error fetching GitHub release for tag refs/tags/v87[4](https://github.com/USER/REPO/actions/runs/12389899706/job/34583847043#step:5:5): HttpError: self-signed certificate in certificate chain
Error: self-signed certificate in certificate chain

This is the only setup regarding the GitHub Release creation:

 - name: Create GitHub Release
   uses: softprops/action-gh-release@v2

I also run other actions related to GitHub in the same workflow like the checkout, which works perfectly:

- name: Checkout
  uses: actions/checkout@v4

Thanks in advance!

@edgarmiro
Copy link
Author

I close this issue cause it was due to a certificate problem.
The solution is to set the NODE_EXTRA_CA_CERTS env variable adding the CA certificate file route as it's explained here.
In my case, adding it to the .env file worked perfectly to execute the runner as a service.

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