Tarmil / FSharp.SystemTextJson

System.Text.Json extensions for F# types
MIT License
323 stars 44 forks source link

UntrustedRoot: self signed certificate in certificate chain #94

Closed james-d-hasselman closed 3 years ago

james-d-hasselman commented 3 years ago

OS: Arch Linux .NET Version: .NET 5.0 (.NET Core)

After installing the package using the .NET CLI instructions found here https://www.nuget.org/packages/FSharp.SystemTextJson I get three errors when running "dotnet restore" or "dotnet build":

error NU3028: Package 'System.Text.Json 4.6.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 error NU3037: Package 'System.Text.Json 4.6.0' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired. error NU3028: Package 'System.Text.Json 4.6.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

Do you know what I can do to resolve this?

baronfel commented 3 years ago

You're hitting this nuget issue, please check out the resolution steps there. This issue took the .net world by storm a couple months ago all over the place.

james-d-hasselman commented 3 years ago

Thanks, that got me pointed in the right direction. The workaround described in this Arch bug report fixed the problem for me.