News

Reports: Expired NuGet Cert Borks .NET 5 Apps on Debian Linux

Apparently an expired NuGet certificate has today caused .NET 5 projects to stop working on Debian Linux, according to multiple reports.

About 10 a.m. EDT a post on the Hacker News development-oriented social site declared: "All .NET 5 projects build failing because MS certificate has expired."

That was quickly followed by this post: ".NET NuGet Package Validation Broken: Certificate Expired."

The NuGet organization quickly published its own post (issue #10591) titled "NuGet restore failing on .NET 5 for Debian-based OSes (CA trust changed)."

NuGet Status Site
[Click on image for larger view.] NuGet Status Site (source: NuGet).

Approximately four hours later NuGet followed up on the matter with issue #49 titled "NuGet restore failing on .NET 5 for Debian-based OSes."

In the latter post, NuGet said, "Our preliminary investigation shows that .NET 5 restore is broken for Debian-based operating systems including Docker." Furthermore, Debian 10 ("buster") and earlier versions are affected, but not Debian testing ("bullseye") and later.

NuGet Post
[Click on image for larger view.] NuGet Post Workarounds (source: NuGet).

"This is because of an issue reported in the ca-certificates package in which the root CA being used are not trusted and must be installed manually due to Symantec Issues. Because this issue has been resolved recently in version 20210119 of this package, it is not available in a Debian version as provided in dotnet-docker for buster-slim today."

The latter NuGet post (#49) lists three workarounds and a solution, which reads:

We're currently working to update the dotnet-docker's buster-slim image to update the ca-certificates package to 20210119 that resolves this issue. We are however currently verifying this is a viable solution with no large diffs between the buster and bullseye releases.

Additionally, the ca-certificates package is due to be installed in the Debian FTP archive which will promote this fix to the buster release in the next few days to which an updated buster-slim image will be prepared and released when available.

NuGet said it would post updates on issue #10491 and #49.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube