Azure devops | Build | NuGet restore : unable to verify the first certificate

Ludovic 96 Reputation points
2021-11-15T08:53:37.213+00:00

Hi All,

I have this issue when I start a build with a custom artifacts.

Error: unable to verify the first certificate
Packages failed to restore

I have seen solutions to correct this using the --sslskipcertvalidation but I don't know where I have to set it.

The agent is on the same server that the Azure DevOps.

Thank you for your help !

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
41,891 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ludovic 96 Reputation points
    2021-11-15T09:28:47.37+00:00

    I fixed the problem by removing and re installing the agent

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.