Monday, February 15, 2021

Azure DevOps Download secure file

Ran in to an interesting issue today in regards to on-prem Azure DevOps and the "Download secure file" task. The step was throwing the message "##[error]Error: self signed certificate in certificate chain". We use self signed certificates internally and the agents are not trusting the server. In order to get around this, set the system environment variable NODE_TLS_REJECT_UNAUTHORIZED to 0, then restart each agent. Should work fine after this.

I am simply posting what worked for me, but others are seeing this as well:

No comments:

Post a Comment