Error starting or building dotnet project (nuget). Arch linux

Стоит задача доработки dotnet проекта. Рабочая ОС Linux Arch.

При попытке запуска любой из команд - dotnet run, build, restore. подает на ошибке с сертификатом. Это на всех проектах даже только созданных.

Пример вывода с ошибкой.

Projects/DotNet/testAsp •NET v5.0.201 ? net5.0 on ☁️
>dotnet run    
Building...
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3028: Package 'Microsoft.OpenApi 1.2.3' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3028: Package 'Microsoft.Extensions.ApiDescription.Server 3.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3037: Package 'Microsoft.OpenApi 1.2.3' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3037: Package 'Microsoft.Extensions.ApiDescription.Server 3.0.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3028: Package 'Microsoft.OpenApi 1.2.3' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain
/home/expai/Projects/DotNet/testAsp/testAsp.csproj : error NU3028: Package 'Microsoft.Extensions.ApiDescription.Server 3.0.0' from source 'https://api.nuget.org/v3/index.json': The repository countersignature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain

The build failed. Fix the build errors and run again.

Как исправить эту ошибку? Гугление не помогло, ест похожие проблемы но решение не помогает, может кто встречался данной проблемой на Arch?


Ответы (0 шт):