Nuget certificate Erroor

 
Hi Team,
 
I am having problem while downloading packages from nuget server.have added the nuget server certificate in teamcity keystore.Can you suggest what will be the workaround for this issue. 
Build failure condition (1)
 Process exited with code 1 
 
 
[06:27:24]
[06:27:24]Errors in packages.config projects
[06:27:24] Unable to find version '1.0.1' of package '*************************************
[06:27:24] C:\Users\admin.user\.nuget\packages\: Package '***************************' is not found on source 'C:\Users\admin.user\.nuget\packages\'.
[06:27:24] https://devget.syhapp.com:8798/feeds/apifeedtest: Error downloading 'SystemC.Alliance.Authentication.Client.1.0.1' from 'https://devget.syhapp.com:8798/feeds/apifeedtest'.
[06:27:24] An error occurred while sending the request.
[06:27:24] The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
[06:27:24] The remote certificate is invalid according to the validation procedure.
[06:27:24]Process exited with code 1
0
2 comments

Hi Lucky,

Nuget steps are run through its own executable, which means that the certificate has to be taken from windows' own keystore. You will need to add it to Windows itself: https://blogs.technet.microsoft.com/sbs/2008/05/08/installing-a-self-signed-certificate-as-a-trusted-root-ca-in-windows-vista/ (This might be a bit outdated but the current process should be similar)

0

I'm running the Docker version of Teamcity, and I'm having the same Certificate error problem, since I'm trying to pull NuGet packages from our internal Artifactory repository.  Any clues?

0

Please sign in to leave a comment.