After performing the following steps:
git clone https://github.com/dotnet/aspnetcore.git
git checkout v3.0.0-preview8.19405.7
and navigating to src\Mvc:
dotnet restore
I get the following error:
C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\NuGet.targets(123,5): error : Unable to load the service index for source https://dotnet.myget.org/F/roslyn/api/v3/index.json. [D:\aspnetcore\src\Mvc\Mvc.sln]
C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\NuGet.targets(123,5): error : The SSL connection could not be established, see inner exception. [D:\aspnetcore\src\Mvc\Mvc.sln]
C:\Program Files\dotnet\sdk\3.0.100-preview8-013656\NuGet.targets(123,5): error : The remote certificate is invalid according to the validation procedure. [D:\aspnetcore\src\Mvc\Mvc.sln]