-
Notifications
You must be signed in to change notification settings - Fork 11
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: unable to get local issuer certificate #377
Comments
no one maintaining this repo anymore ? |
Sorry for the delay in actioning this @Justin-JHG Can you please let us know some more information about where you are receiving this error? |
hi @benPearce1 thank you for the reply Can you please let us know some more information about where you are receiving this error?
Where is the Octopus server that it is connecting to located, internal network or public facing endpoint?
Are you able to provide a debug log from a failed run?
|
@Justin-JHG thanks for the reply. I assume since the Octopus Server is internally facing only, then it is using a self-signed certificate on the API. It appears that you are running into the same issue that we have on our Azure Devops extension. They both use the same underlying client library. At this stage we don't have a fix and are not planning to provide an SSL workaround, can you please try importing the self-signed certificate from the Octopus Server to the The debug logs can be obtained by re-running a previous job and ticking |
thank you @benPearce1 yes we did get exact same error in our Azure DevOps pipeline as well when running latest task for Create Release and Deploy Release. just wondering if you not planning to fix the ssl error, can you help to udpate [email protected] to fix the following: we will just use v2 instead as that one works for us. I tried to import the certificate and still getting same error, debug log as following
|
@Justin-JHG there are two possible workarounds that will avoid the SSL error you are seeing in the v3 action. Setting the environment variable Exporting the Octopus Server certificate to a PEM file and setting the environment variable |
hi @benPearce1 tried to add NODE_TLS_REJECT_UNAUTHORIZED and still got same error? |
The variable would need to be on the worker machine as a system variable, or at least scoped to the user that the agent is running under. |
hi @benPearce1 another thing I'm wondering is that when I try to browse the Octopus server from the runner it didn't report any issue with certificate. just wondering why the github action cannot find it |
I think this is due to differences in the way that the browser handles certificates vs node. After adding the |
Describe the bug
Getting above error when running action verson 3
running exact same action with v2.0.1 has no error
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: