Failed to execute push. unable to get local issuer certificate

We are using Azure DevOps 2020 and Octopus Deploy both on priem.
Octopus Deploy Version:- V2022.1 (Build2584)

In Azure DevOps In “Push Packages to Octopus V 6” we are getting below errors:-

##[error]"Failed to execute push. unable to get local issuer certificate
Error: unable to get local issuer certificate
at Function.ae.from (D:\agents\01_work_tasks\OctopusPush_d05ad9a2-5d9e-4a1c-a887-14034334d6f2\6.0.599\index.js:42:13882)
at en. (D:\agents\01_work_tasks\OctopusPush_d05ad9a2-5d9e-4a1c-a887-14034334d6f2\6.0.599\index.js:44:10223)
at en.emit (node:events:527:28)
at ClientRequest.Tf. (D:\agents\01_work_tasks\OctopusPush_d05ad9a2-5d9e-4a1c-a887-14034334d6f2\6.0.599\index.js:42:738)
at ClientRequest.emit (node:events:527:28)
at TLSSocket.socketErrorListener (node:_http_client:454:9)
at TLSSocket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Finishing: Push Packages to Octopus.

I have already added step install Octopus CLI.

And then added Push and pacakge steps:-
image

Any Idea.

Hi @sbindra

Thanks for reaching out regarding your issue today.

It looks like your Octopus Server may have a self signed certificate or the certificate may be invalid.

You can set ADO to ignore SSL Errors by editing the Service Connection in your project settings.
image

You can find out where this setting is by following the Microsoft documentation here

Hopefully, this helps, but feel free to contact us again if you have any issues.

Kind Regards,
Dom

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.