You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when building a .net core project it fails at the dotnet restore step. We get the below error
usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. []
/usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : The SSL connection could not be established, see inner exception. []
/usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : The remote certificate is invalid according to the validation procedure. []
The command '/bin/sh -c dotnet restore ' returned a non-zero code: 1
We have a company wide proxy which i think is causing the issue. I am trying to add the certs in the chain to docker but unable to find the correct location. Can someone please help i have been struggling for days.
This discussion was converted from issue #2648 on March 10, 2021 19:25.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
when building a .net core project it fails at the dotnet restore step. We get the below error
usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. []
/usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : The SSL connection could not be established, see inner exception. []
/usr/share/dotnet/sdk/2.2.402/NuGet.targets(123,5): error : The remote certificate is invalid according to the validation procedure. []
The command '/bin/sh -c dotnet restore ' returned a non-zero code: 1
We have a company wide proxy which i think is causing the issue. I am trying to add the certs in the chain to docker but unable to find the correct location. Can someone please help i have been struggling for days.
this docker desktop for windows on windows 10.
Thanks inadvance
Beta Was this translation helpful? Give feedback.
All reactions