PowerShell / MMI

Other
24 stars 17 forks source link

Build MMI failed #53

Open xtqqczze opened 3 years ago

xtqqczze commented 3 years ago

MMI-CI: Build MMI:

/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error : Unable to load the service index for source https://www.myget.org/F/dotnet-core/api/v3/index.json. [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]
/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error :   The SSL connection could not be established, see inner exception. [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]
/usr/share/dotnet/sdk/5.0.301/NuGet.targets(131,5): error :   The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch [/home/vsts/work/1/s/src/Microsoft.Management.Infrastructure/Microsoft.Management.Infrastructure.csproj]

https://dev.azure.com/powershell/MMI/_build/results?buildId=81198&view=logs&j=12f1170f-54f2-53f3-20dd-22fc7dff55f9&t=35f53584-79fc-539f-463c-6471d0663a3a

xtqqczze commented 3 years ago
> follow https://www.myget.org/F/dotnet-core/api/v3/index.json
https://www.myget.org/F/dotnet-core/api/v3/index.json -> 302
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json -> Error: FetchError: request to https://dotnet.myget.org/F/dotnet-core/api/v3/index.json failed, reason: Hostname/IP does not match certificate's altnames: Host: dotnet.myget.org. is not in the cert's altnames: DNS:*.oneroute.microsoft.com, DNS:oneroute.microsoft.com
xtqqczze commented 3 years ago

Nuget package sources in nuget.config need updating,